Attention

You are looking at outdated documentation for version 2.x. A newer version is available.

wsgidav.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.