DatasetIdentifier Module

class servicex.dataset_identifier.RucioDatasetIdentifier(dataset: str, num_files: int | None = None)[source]

Bases: DataSetIdentifier

Rucio Dataset - this will be looked up using the Rucio data management service.

Parameters:
  • dataset – The rucio DID - this can be a dataset or a container of datasets.

  • num_files – Maximum number of files to return. This is useful during development to perform quick runs. ServiceX is careful to make sure it always returns the same subset of files.

classmethod from_yaml(_, node)[source]
yaml_tag = '!Rucio'
class servicex.dataset_identifier.FileListDataset(files: List[str] | str)[source]

Bases: DataSetIdentifier

Dataset specified as a list of XRootD URIs.

Parameters:

files – Either a list of URIs or a single URI string

property did
classmethod from_yaml(constructor, node)[source]
yaml_tag = '!FileList'