Diracclient
DiracClient(rucio_host=None, auth_host=None, account=None, ca_cert=None, auth_type=None, creds=None, timeout=600, user_agent='rucio-clients', vo=None, logger=LOG)
¶
DataIdentifier client class for working with data identifiers
add_files(lfns, ignore_availability=False, parents_metadata=None)
¶
Bulk add files : - Create the file and replica. - If doesn't exist create the dataset containing the file as well as a rule on the dataset on ANY sites. - Create all the ascendants of the dataset if they do not exist
Parameters:
Name | Type | Description | Default |
---|---|---|---|
lfns
|
Iterable[Mapping[str, Any]]
|
List of lfn (dictionary {'lfn': |
required |
ignore_availability
|
bool
|
A boolean to ignore blocked sites. |
False
|
parents_metadata
|
Optional[Mapping[str, Mapping[str, Any]]]
|
Metadata for selected hierarchy DIDs. (dictionary {'lpn': {key : value}}). Default=None |
None
|