Switched to SQLAlchemy from psycopg
hi i am back
did it because i started working on /agents/registration endpoint but the psycopg.connect(…) bla bla looked hella weird everywhere so i just ragequit and installed SQLAlchemy, then made the models (only agent table for now) and setup a simple function get_db() to get a quick db session, fixed my problem ezzz
not using alembic rn tho, will do in future
i dont have anything to show so i will just show this ig?
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.