Skip to content

Generalize the custom contextmanager decorator to be an async decorator too - #211

Merged
msullivan merged 1 commit into
mainfrom
contextmanager-anysync
Jul 10, 2026
Merged

Generalize the custom contextmanager decorator to be an async decorator too#211
msullivan merged 1 commit into
mainfrom
contextmanager-anysync

Conversation

@msullivan

Copy link
Copy Markdown
Contributor

Allows a bit more ergonomics because it lets you mix them in one async
with block.

(I'm probably about to add another

…or too

Allows a bit more ergonomics because it lets you mix them in one async
with block.

(I'm probably about to add another
@msullivan
msullivan requested a review from anbuzin July 10, 2026 19:06
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-python Ready Ready Preview, Comment Jul 10, 2026 7:07pm

@msullivan
msullivan merged commit e160107 into main Jul 10, 2026
7 checks passed
@msullivan
msullivan deleted the contextmanager-anysync branch July 10, 2026 19:55
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

Successfully merging this pull request may close these issues.

2 participants