PaperParser/app/blueprints/api/routes.py

13 lines
357 B
Python

from flask import Blueprint
from .tasks.routes import tasks
from .sessions.routes import sessions
from .users.routes import users
from .collections.routes import collections
api = Blueprint("api", __name__, url_prefix="/api")
api.register_blueprint(users)
api.register_blueprint(tasks)
api.register_blueprint(sessions)
api.register_blueprint(collections)