wsgidav.lock_man.lock_storage.LockStorageDict.get#

LockStorageDict.get(token)[source]#

Return a lock dictionary for a token.

If the lock does not exist or is expired, None is returned.

token:

lock token

Returns:

Lock dictionary or <None>

Side effect: if lock is expired, it will be purged and None is returned.