We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
schema_context
Currently schema_context operates as a context manager but does not appear to behave as a decorator.
It would be nice if it could support both. This is possible from python 3.2 onwards.
An example would be something like:
@schema_context('tenant') def a_function_that_i_want_to_run_for_one_tenant(*args, **kwargs): ...
The text was updated successfully, but these errors were encountered:
Actually ya know what, I'll make a PR for this :)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Currently schema_context operates as a context manager but does not appear to behave as a decorator.
It would be nice if it could support both. This is possible from python 3.2 onwards.
An example would be something like:
The text was updated successfully, but these errors were encountered: