Skip to content

Commit 56cd90b

Browse files
committed
maint:typing
1 parent 14fc6c3 commit 56cd90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scheduler/redis_models/lock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def acquire(self, val: Any, connection: ConnectionType, expire: Optional[int] =
1919
def expire(self, connection: ConnectionType, expire: Optional[int] = None) -> bool:
2020
return connection.expire(self._locking_key, expire)
2121

22-
def release(self, connection: ConnectionType):
22+
def release(self, connection: ConnectionType) -> None:
2323
connection.delete(self._locking_key)
2424

2525
def value(self, connection: ConnectionType) -> Any:

0 commit comments

Comments
 (0)