titanfe.apps.control_peer.webapi.bricks module¶
Routes for Flow management
-
class
titanfe.apps.control_peer.webapi.bricks.
RequestBrickStart
(*, brick: dict)[source]¶ Bases:
pydantic.main.BaseModel
-
brick
: dict¶
-
-
class
titanfe.apps.control_peer.webapi.bricks.
RequestInstallBricks
(*, bricks: list)[source]¶ Bases:
pydantic.main.BaseModel
-
bricks
: list¶
-
-
titanfe.apps.control_peer.webapi.bricks.
create_brick_router
(control_peer)[source]¶ Setup the routing for flow management
- Parameters:
control_peer (ControlPeer) – an instance of the ControlPeer
- Returns:
router/routes to manage the control peer’s flows
- Return type:
APIRouter