PaperParser/app/blueprints/api/routes.py

13 lines
357 B
Python
Raw Normal View History

2024-01-31 19:37:01 +10:00
from flask import Blueprint
from .tasks.routes import tasks
from .sessions.routes import sessions
from .users.routes import users
2024-03-07 02:22:53 +10:00
from .collections.routes import collections
2024-01-31 19:37:01 +10:00
api = Blueprint("api", __name__, url_prefix="/api")
api.register_blueprint(users)
api.register_blueprint(tasks)
2024-03-07 02:22:53 +10:00
api.register_blueprint(sessions)
api.register_blueprint(collections)