lock_scope Property
The scope of the current resource lock.
Syntax
def get_lock_scope() -> str: ... def set_lock_scope(value: str) -> None: ...
lock_scope = property(get_lock_scope, set_lock_scope)
Default Value
""
Remarks
The scope of the current resource lock.
Before the calendar resource can be locked, the Lock lock_scope may be set to the type of scope needed for the lock. Currently the class will only allow two types of scopes to be requested:
"exclusive" | The lock belongs exclusively to the requesting principle. No other principle may modify the locked resource URI. |
"shared" | The locked resource may not be modified by non-trusted principles. Users who have access rights, however, may request a shared lock which they can then use to modify or operate on the resource. |
If no scope is specified, the protocol default scope, "exclusive", will be requested. After a successful LockCalendar operation, the class will set the lock_scope property to the correct value returned in the server's response.