Skip to content

Conversation

@carderne
Copy link

@carderne carderne commented Sep 9, 2022

We're using this diff to work with a stac-fastapi app that needs to set up and tear down a DB connection for each request.

I'm not sure how generic this API is supposed to be, but this should definitely work with any Starlette implementation (relevant startup code here.

Fully understand if the scope for this library is broader, I haven't done much due diligence.

@tonybaloney
Copy link
Contributor

Thanks for the PR, there's a lot of edge cases and scenarios to handle, I've submitted a PR, #187 with a full implementation

@carderne carderne closed this Nov 28, 2024
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.

3 participants