Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We should be able to import DeliveryEnum #133

Open
gordonwatts opened this issue May 22, 2024 · 0 comments
Open

We should be able to import DeliveryEnum #133

gordonwatts opened this issue May 22, 2024 · 0 comments
Labels
bug Something isn't working servicex Related to SX tests
Milestone

Comments

@gordonwatts
Copy link
Member

gordonwatts commented May 22, 2024

This is used in the front-end:

    spec = sx.ServiceXSpec(
        General=sx.General(
            ServiceX="atlasr22",
            Codegen=query[1],
            OutputFormat=sx.ResultFormat.root,  # type: ignore
            Delivery=("LocalCache" if download else "SignedURLs"),  # type: ignore  <== HERE
        ),
        Sample=[
            # TODO: Need a way to have the DID finder re-fetch the file list.
            sx.Sample(
                Name=f"speed_test_{ds_name}"[0:128],
                RucioDID=ds_name,
                Codegen=query[1],
                Query=query[0],
                NFiles=num_files,
                IgnoreLocalCache=ignore_cache,
            )  # type: ignore
            for ds_name in ds_names
        ],
    )
# TODO: Where is the enum that does DeliveryEnum come from?
@gordonwatts gordonwatts added bug Something isn't working servicex Related to SX tests labels May 22, 2024
@gordonwatts gordonwatts added this to the Post Test milestone May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working servicex Related to SX tests
Projects
None yet
Development

No branches or pull requests

1 participant