Lock Methods

class rucio.client.lockclient.LockClient(rucio_host=None, auth_host=None, account=None, ca_cert=None, auth_type=None, creds=None, timeout=600, user_agent='rucio-clients', vo=None)

Bases: rucio.client.baseclient.BaseClient

Lock client class for working with rucio locks

LOCKS_BASEURL = 'locks'
get_dataset_locks(scope, name)

Get a dataset locks of the specified dataset.

Parameters
  • scope – the scope of the did of the locks to list.

  • name – the name of the did of the locks to list.

get_dataset_locks_by_rse(rse)

Get all dataset locks of the specified rse.

Parameters

rse – the rse of the locks to list.