update requirements.txt file and reformat code

This commit is contained in:
dominik24c 2022-10-25 20:38:47 +02:00
parent 8f6a3d96e5
commit dab59189cf
4 changed files with 6 additions and 34 deletions

View File

@ -1,9 +1,7 @@
from ..dependencies import db
from ..base.models import Person, Base
from flask_sqlalchemy import BaseQuery
from sqlalchemy import or_
from sqlalchemy.sql import text
from ..dependencies import db
from ..base.models import Person, Base
from ..base.utils import order_by_column_name

View File

@ -1,4 +1,3 @@
from sqlalchemy.sql import text
from flask_sqlalchemy import BaseQuery
from ..dependencies import db

View File

@ -1,16 +1,15 @@
from apiflask import APIBlueprint
from flask import abort
from ...project_supervisor.models import ProjectSupervisor
from ..models import Group
from ...dependencies import db
from ..schemas import ProjectSupervisorPaginationSchema, ProjectSupervisorQuerySchema
from ..schemas import ProjectSupervisorQuerySchema, ProjectSupervisorPaginationSchema
from ...base.utils import paginate_models
bp = APIBlueprint("registrations", __name__, url_prefix="/registrations")
@bp.route('/', methods=['GET'])
@bp.get('/')
@bp.input(ProjectSupervisorQuerySchema, location='query')
@bp.output(ProjectSupervisorPaginationSchema)
def list_available_groups(query: dict) -> dict:

View File

@ -1,39 +1,15 @@
alembic==1.7.7
attrs==21.4.0
click==8.1.3
Flask==2.1.2
Flask-Cors==3.0.10
flask-marshmallow==0.14.0
Flask-Migrate==3.1.0
Flask-SQLAlchemy==2.5.1
greenlet==1.1.2
importlib-metadata==4.11.3
importlib-resources==5.7.1
iniconfig==1.1.1
itsdangerous==2.1.2
Jinja2==3.1.2
Mako==1.2.0
MarkupSafe==2.1.1
marshmallow==3.15.0
marshmallow-sqlalchemy==0.28.0
mccabe==0.6.1
numpy==1.22.3
packaging==21.3
pandas==1.4.2
pluggy==1.0.0
py==1.11.0
pycodestyle==2.8.0
pyflakes==2.4.0
pyparsing==3.0.9
pytest==7.1.2
pytest-flask==1.2.0
python-dateutil==2.8.2
python-dotenv==0.20.0
pytz==2022.1
six==1.16.0
SQLAlchemy==1.4.36
tomli==2.0.1
Werkzeug==2.1.2
zipp==3.8.0
apiflask==1.0.2
apiflask>=1.0.2,<1.1.0
python-dotenv==0.21.0
factory_boy==3.2.1