lock_type Property

The type of the current resource lock.

Syntax

def get_lock_type() -> str: ...
def set_lock_type(value: str) -> None: ...

lock_type = property(get_lock_type, set_lock_type)

Default Value

"write"

Remarks

Before a call to the lock_resource method, lock_type may be set to the type of lock being requested. Currently, the class only supports requesting locks of type "write", although the protocol defines an optional "read" lock. After a successful lock_resource operation, the class will set the lock_type property to the correct value returned in the server's response.

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