lock_tokens Property
The lock string to be used when submitting operations on a locked resource.
Syntax
def get_lock_tokens() -> str: ... def set_lock_tokens(value: str) -> None: ...
lock_tokens = property(get_lock_tokens, set_lock_tokens)
Default Value
""
Remarks
Before a call to the lock_resource method, lock_tokens may be set to the tokens returned by a previous lock operation. This is useful when renewing a timeout. The server will respond with a new timeout value, which will be stored in lock_timeout. If the lock request is not a lock refresh, lock_tokens must be empty, and will be parsed out of the server response after a successful call to the lock_resource method.