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

Methods should accept a single input parameter (wherever applicable) #7

Open
appukuttan-shailesh opened this issue Nov 7, 2017 · 0 comments

Comments

@appukuttan-shailesh
Copy link
Collaborator

Changing methods to accept a single parameter and determining the type of input internally.

simplifying the user interface by having only a single argument for a given object ID. Rather than explicitly specifying whether the id is a local path, a UUID or an alias, the client should infer which type of id has been passed.

E.g.

the signature should be something like:
get_validation_test(self, test_id="", version="", **params)
where test_id can be a local JSON file, a UUID, a URI, or an alias for a Test, and version can be a local JSON file, a UUID, or an alias for a TestInstance.

apdavison pushed a commit that referenced this issue Mar 11, 2022
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

1 participant