Files
contracts-flask/site/routes/__init__.py
T
naeel 15137f8e94
Deploy contracts-flask / validate (push) Successful in 0s
fix: all imports → relative (from .xxx) — no stdlib site conflict
2026-07-15 11:32:49 +04:00

18 lines
572 B
Python

"""Регистрация всех blueprint'ов."""
def register_routes(app):
from .routes.upload_bp import upload_bp
from .routes.pipeline_bp import pipeline_bp
from .routes.api_bp import api_bp
from .routes.prompts_bp import prompts_bp
from .routes.health_bp import health_bp
from .routes.pages_bp import pages_bp
app.register_blueprint(upload_bp)
app.register_blueprint(pipeline_bp)
app.register_blueprint(api_bp)
app.register_blueprint(prompts_bp)
app.register_blueprint(health_bp)
app.register_blueprint(pages_bp)