18 lines
590 B
Python
18 lines
590 B
Python
"""Регистрация всех blueprint'ов."""
|
|
|
|
|
|
def register_routes(app):
|
|
from app.routes.upload_bp import upload_bp
|
|
from app.routes.pipeline_bp import pipeline_bp
|
|
from app.routes.api_bp import api_bp
|
|
from app.routes.prompts_bp import prompts_bp
|
|
from app.routes.health_bp import health_bp
|
|
from app.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)
|