get_read_lock¶
- data_base.distributed_lock.get_read_lock(name)¶
Fetch the correct read lock, depending on global locking server configuration.
- Parameters:¶
- name : str¶
The name of the lock.
- Returns:¶
The lock object.
- Return type:¶
InterProcessLockNoWritePermission|redis.lock|kazoo.client.Lock
Documentation unclear, incomplete, broken or wrong? Let us know