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

Add CLI API for yaml validation / dry run #480

Open
matthewfeickert opened this issue Sep 26, 2024 · 0 comments
Open

Add CLI API for yaml validation / dry run #480

matthewfeickert opened this issue Sep 26, 2024 · 0 comments

Comments

@matthewfeickert
Copy link
Contributor

Following @ponyisi's talk on the ServiceX client v3.0.0 release in the 2024-09-24 IRIS-HEP Analysis Systems meeting it would be nice from a user perspective if there was a CLI API for doing schema validation of a ServiceX config.yaml file (reference: slide 7 from talk) given that the ServiceX client uses Pydantic and so things should be easy to validate.

An API that makes sense to me (without much thought on it though) would be something along the lines of

servicex validate [--config-file=<path>]

@jpivarski also pointed out that a "dry run" option would be useful. A dry run could validate both the syntax and the semantics and might even check to see if files exist, but not start any transformation or download any data.

@ponyisi ponyisi added this to the 3.1 New features milestone Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants