How to catch exceptions in generator #155
Replies: 1 comment 1 reply
-
Hi @vincentleeuwen, Yeah it's the right place to ask, would you try these two to see if one of them work? Option A: treat
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
Congrats on this nice library! I really like the idea and am thinking of using it in our project. I have a quick question (not sure if this is the right place to ask, but I'll give it a try).
We want to use this library to resolve fastapi
Depends
within a celery task (seems like this would be a good fit).We have the following kind setup:
Then in the task:
How would i make sure that my session in the generator is rolled back here?
Beta Was this translation helpful? Give feedback.
All reactions