PaperParser/app/blueprints/api/routes.py

11 lines
277 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
api = Blueprint("api", __name__, url_prefix="/api")
api.register_blueprint(users)
api.register_blueprint(tasks)
api.register_blueprint(sessions)