nopaque/app/blueprints/api/__init__.py

15 lines
369 B
Python
Raw Normal View History

from flask import Blueprint
bp = Blueprint('api', __name__)
2022-09-02 11:24:14 +00:00
from .tokens import bp as tokens_blueprint
bp.register_blueprint(tokens_blueprint, url_prefix='/tokens')
from .users import bp as users_blueprint
bp.register_blueprint(users_blueprint, url_prefix='/users')
from .jobs import bp as jobs_blueprint
bp.register_blueprint(jobs_blueprint, url_prefix='/jobs')