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
Right now, a context always needs to be initialized before resolving a providers.ContextResource:
providers.ContextResource
with my_context_resource.sync_context(): my_context_resource.sync_resolve():
It would be great to support automatically initializing a context when one attempts to resolve a context-resource:
my_context_resource = providers.ContextResource(my_sync_creator, auto_context=True) my_context_resource.sync_resolve() # `Does not throw Exception`
The text was updated successfully, but these errors were encountered:
@alexanderlazarev0 But how to finalize such resource after using?
Sorry, something went wrong.
alexanderlazarev0
Successfully merging a pull request may close this issue.
Right now, a context always needs to be initialized before resolving a
providers.ContextResource
:It would be great to support automatically initializing a context when one attempts to resolve a context-resource:
The text was updated successfully, but these errors were encountered: