Skip to content

Commit

Permalink
Merge pull request #145 from crazyscientist/pydantic-update
Browse files Browse the repository at this point in the history
Removed version constraint of `pydantic`
  • Loading branch information
s-leon authored Jun 5, 2023
2 parents f68f19a + fb9ac2a commit a1b4ef3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions backend/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from fastapi_pagination import add_pagination

from . import create_app, models
from .database import engine


models.Base.metadata.create_all(engine)
app = create_app()
add_pagination(app)
5 changes: 2 additions & 3 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
alembic
fastapi
fastapi-pagination[sqlalchemy]
fastapi-pagination[sqlalchemy]<0.12
ldap3
passlib[bcrypt]
psycopg2-binary
# See: https://github.com/samuelcolvin/pydantic/issues/4131
pydantic<1.9.1
pydantic<2
python-dotenv
python-jose[cryptography]
python-multipart
Expand Down

0 comments on commit a1b4ef3

Please sign in to comment.