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

Implement hooking up a custom value validation function for parameters #39

Closed
proycon opened this issue Mar 25, 2016 · 1 comment
Closed
Milestone

Comments

@proycon
Copy link
Owner

proycon commented Mar 25, 2016

No description provided.

@proycon proycon added this to the v2.1 milestone Mar 25, 2016
@proycon
Copy link
Owner Author

proycon commented Mar 25, 2016

Implemented, all parameters now take a validator= keyword argument pointing to a function (or other callable) taking one argument (the value), and returning either a boolean or a (boolean,errormsg) tuple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant