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

Lifespan Middleware #100

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Lifespan Middleware #100

merged 2 commits into from
Sep 12, 2024

Conversation

devhawk
Copy link
Contributor

@devhawk devhawk commented Sep 12, 2024

  • trigger dbos launch/destroy from ASGI middleware when using FastAPI
  • move dbos_error_handler code into fastapi.py

* move `dbos_error_handler` code into fastapi.py
@chuck-dbos
Copy link
Contributor

Aside from the fact that it doesn't compile, looks good :-D

@devhawk
Copy link
Contributor Author

devhawk commented Sep 12, 2024

image

@devhawk devhawk merged commit 0283c2e into main Sep 12, 2024
4 checks passed
@devhawk devhawk deleted the devhawk/lifespan-middleware branch September 12, 2024 18:25
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