fastapi-async-sqlalchemy
fastapi-async-sqlalchemy copied to clipboard
Why did you move and hide everything inside a method? This removes any typing and any potential access to monkeypatch _Session (ie for celery)
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)