Attention

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

wsgidav.lock_storage.LockStorageShelve.get

LockStorageShelve.get(token)

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.