forked from iti-framework/iTi-Flask
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
487 B
Python
17 lines
487 B
Python
from apiflask import APIBlueprint
|
|
from .workshop_ctl import bp as workshop_bp
|
|
from .device_ctl import bp as device_bp
|
|
from .endpoint_ctl import bp as endpoint_bp
|
|
from .node_ctl import bp as node_bp
|
|
|
|
iot_bp = APIBlueprint("iot", __name__, url_prefix="/iot")
|
|
|
|
|
|
def register_iot_bp(app):
|
|
iot_bp.register_blueprint(workshop_bp)
|
|
iot_bp.register_blueprint(device_bp)
|
|
iot_bp.register_blueprint(endpoint_bp)
|
|
iot_bp.register_blueprint(node_bp)
|
|
|
|
app.register_blueprint(iot_bp)
|