Skip to content

XRootD dataset docstring is incorrect #570

@gordonwatts

Description

@gordonwatts

Looks like it was a straight cut/paste from the open data guy.

class XRootDDatasetIdentifier(DataSetIdentifier):
    def __init__(self, pattern: str, num_files: Optional[int] = None):
        r"""
        CERN Open Data Dataset - this will be looked up using the CERN Open Data DID finder.

        :param dataset: The dataset ID - this is an integer.
        :param 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.

        """
        super().__init__("xrootd", pattern, num_files=num_files)

    yaml_tag = "!XRootD"

    @classmethod
    def from_yaml(cls, _, node):
        return cls(node.value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions