How do you inject dependency (sqlalchemy ) #1963
engAmirEng
started this conversation in
Ideas
Replies: 1 comment
-
I personally use gino, and pass my model objects to the handler using middlewares(async) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I wonder what is the best way of using sqlalchemy in a way that gives the best performance possible (so I don't want to do it in middleware and open and close a session for every single message) and be modular.
Beta Was this translation helpful? Give feedback.
All reactions