-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Add missed AsyncContextDecorator to contextlib #84993
Comments
I can use context manager as decorator but can't use async context manager. Seems it because didn't implemented AsyncContextDecorator class |
This has long been implemented: https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager |
No, please look at the pull request. |
Yury Selivanov, did you see the pull request? |
Thank you heckad! I'm in need of a decorating asynccontextmanager, and glad that an implementation is in the works that I can copy from in the meantime. I hope Yuri reviews the PR before long. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: