- LockStorageDict.get_lock_list(path, *, include_root, include_children, token_only)[source]¶
Return a list of direct locks for <path>.
Expired locks are not returned (but may be purged).
Normalized path (utf8 encoded string, no trailing ‘/’)
False: don’t add <path> lock (only makes sense, when include_children is True).
True: Also check all sub-paths for existing locks.
True: only a list of token is returned. This may be implemented more efficiently by some providers.
List of valid lock dictionaries (may be empty).