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

checks should have an apply method #6

Open
Zaharid opened this issue Nov 7, 2017 · 0 comments
Open

checks should have an apply method #6

Zaharid opened this issue Nov 7, 2017 · 0 comments

Comments

@Zaharid
Copy link
Contributor

Zaharid commented Nov 7, 2017

... Especially argchecks.

When the make_argcheck decorator is applied, the result is a function that takes another function as argument, and instructs reportengine to apply the corresponding check. However we may be interested in simply using the function outside the loop. A possible solution is to make it so make_argcheck adds an apply method to the checks, that has the same effect as the original function.

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