Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions data/database.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# database.py

from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker, declarative_base

engine = create_engine("sqlite:///./data/songs.db", connect_args={"check_same_thread": False})
OrmSession = sessionmaker(autocommit=False, autoflush=False, bind=engine)
Expand Down
68 changes: 32 additions & 36 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
asgiref==3.4.1
attrs==21.2.0
annotated-types==0.6.0
anyio==3.7.1
certifi==2023.7.22
charset-normalizer==2.0.4
click==8.0.1
coverage==5.5
docopt==0.6.2
fastapi==0.68.0
flake8==3.9.2
greenlet==1.1.1
h11==0.12.0
httptools==0.2.0
idna==3.2
iniconfig==1.1.1
mccabe==0.6.1
packaging==21.0
pluggy==1.0.0
py==1.10.0
pycodestyle==2.7.0
pydantic==1.8.2
pyflakes==2.3.1
pyparsing==2.4.7
pytest==6.2.5
pytest-cov==2.12.1
python-dotenv==0.19.0
PyYAML==5.4.1
requests==2.26.0
SQLAlchemy==1.4.22
starlette==0.14.2
toml==0.10.2
typing-extensions==3.10.0.0
urllib3==1.26.18
uvicorn==0.14.0
uvloop==0.15.3
watchgod==0.7
websockets==9.1
yarg==0.1.9
click==8.1.7
coverage==7.3.2
fastapi==0.104.1
flake8==6.1.0
greenlet==3.0.1
h11==0.14.0
httpcore==1.0.1
httptools==0.6.1
httpx==0.25.1
idna==3.4
iniconfig==2.0.0
mccabe==0.7.0
packaging==23.2
pluggy==1.3.0
pycodestyle==2.11.1
pydantic==2.4.2
pydantic_core==2.10.1
pyflakes==3.1.0
pytest==7.4.3
pytest-cov==4.1.0
python-dotenv==1.0.0
PyYAML==6.0.1
sniffio==1.3.0
SQLAlchemy==2.0.23
starlette==0.27.0
typing_extensions==4.8.0
uvicorn==0.24.0.post1
uvloop==0.19.0
watchfiles==0.21.0
websockets==12.0