v0.0.1: revert to v7.0.0 code — api_bp unified, no Connection close, version reset
Deploy drhider / validate (push) Waiting to run
Deploy drhider / validate (push) Waiting to run
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
from .main_bp import main_bp
|
||||
from .health_bp import health_bp
|
||||
from .upload_bp import upload_bp
|
||||
from .process_bp import process_bp
|
||||
from .download_bp import download_bp
|
||||
from .api_bp import api_bp
|
||||
|
||||
|
||||
def register_routes(app):
|
||||
"""Зарегистрировать все blueprint'ы на Flask-приложении.
|
||||
|
||||
Args:
|
||||
app: Экземпляр Flask-приложения
|
||||
"""
|
||||
app.register_blueprint(main_bp)
|
||||
app.register_blueprint(health_bp)
|
||||
app.register_blueprint(upload_bp)
|
||||
app.register_blueprint(process_bp)
|
||||
app.register_blueprint(download_bp)
|
||||
app.register_blueprint(api_bp)
|
||||
|
||||
Reference in New Issue
Block a user