__init__.py 219 B

123456789
  1. from .api import v1_bp, v2_bp
  2. from .home import bp_home
  3. from flask import Flask
  4. def init_blueprints(app: Flask):
  5. app.register_blueprint(v1_bp)
  6. app.register_blueprint(v2_bp)
  7. app.register_blueprint(bp_home)