init
This commit is contained in:
commit
48c6176c47
12 changed files with 1971 additions and 0 deletions
7
dependencies.py
Normal file
7
dependencies.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from sqlmodel import Session
|
||||
from database import engine
|
||||
|
||||
|
||||
def get_session():
|
||||
with Session(engine) as session:
|
||||
yield session
|
||||
Loading…
Add table
Add a link
Reference in a new issue