You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v.5 it was easy to use this with celery without having to recreate fastapi app (which isn't needed for celery)
To do this we would Moneky patch the _Session object
Now that this variable is hidden in method, we can't do that (I don't think)
The text was updated successfully, but these errors were encountered:
adiberk
changed the title
No access to _Session for easy use with Celery without middleware initialization
No access to _Session or the DBSession class for typing - No easy monkeypatch for celery usage
Dec 4, 2024
adiberk
changed the title
No access to _Session or the DBSession class for typing - No easy monkeypatch for celery usage
Why did you move and hide everything inside a method? This removes any typing and any potential access to monkeypatch _Session (ie for celery)
Dec 4, 2024
In v.5 it was easy to use this with celery without having to recreate fastapi app (which isn't needed for celery)
To do this we would Moneky patch the _Session object
Now that this variable is hidden in method, we can't do that (I don't think)
The text was updated successfully, but these errors were encountered: