We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14fc6c3 commit 56cd90bCopy full SHA for 56cd90b
scheduler/redis_models/lock.py
@@ -19,7 +19,7 @@ def acquire(self, val: Any, connection: ConnectionType, expire: Optional[int] =
19
def expire(self, connection: ConnectionType, expire: Optional[int] = None) -> bool:
20
return connection.expire(self._locking_key, expire)
21
22
- def release(self, connection: ConnectionType):
+ def release(self, connection: ConnectionType) -> None:
23
connection.delete(self._locking_key)
24
25
def value(self, connection: ConnectionType) -> Any:
0 commit comments