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

coroutine app factory #1184

Closed
wants to merge 2 commits into from
Closed

coroutine app factory #1184

wants to merge 2 commits into from

Conversation

adriangb
Copy link
Member

@adriangb adriangb commented Sep 15, 2021

This PR made no sense and is closed I'm leaving it up just for transparency.

This is a quick implementation of an idea that may be an alternative to #1152 and resolve #1151, or at least my use case for #1151 .

The idea is that if all we need is a context manager to handle lifespans, we don't need the app factory itself to be a context manager, just to be able to use a context manager

@adriangb adriangb closed this Sep 15, 2021
@adriangb
Copy link
Member Author

Nevermind folks. It was late, I forgot how CMs work for some reason 😫 . This has to be one of the dumbest things I've ever implemented.

@adriangb adriangb deleted the coro-factory branch September 15, 2021 06:56
@adriangb adriangb changed the title DRAFT: Coroutine app factory coroutine app factory Sep 15, 2021
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.

support @asynccontextmanager app_factory functions
1 participant