Untitled
unknown
plain_text
17 days ago
295 B
1
Indexable
Never
from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker I SQLALCHEMY_DATABASE_URL = 'sqlite:///./todos.db' engine create_engine (SQLALCHEW_DATABASE_URL, connect_args={'check_same_thread': False}) SessionLocal sessionmaker(autocommit=False, autoflush=False, bind=engine)
Leave a Comment