lock_tokens Property

The lock string to be used when submitting operations on a locked resource.


def get_lock_tokens() -> str: ...
def set_lock_tokens(value: str) -> None: ...

lock_tokens = property(get_lock_tokens, set_lock_tokens)

Default Value



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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8161]