Skip to main content

DiracClient

add_files

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

Arguments:

lfns: List of lfn (dictionary {'lfn': <lfn>, 'rse': <rse>, 'bytes': <bytes>, 'adler32': <adler32>, 'guid': <guid>, 'pfn': <pfn>}

ignore_availability: A boolean to ignore blocked sites.

parents_metadata: Metadata for selected hierarchy DIDs. (dictionary {'lpn': {key : value}}). Default=None