f1
f1 ¶
Fixed Flow implementation that properly abstracts execution details.
Flow ¶
Flow(processor: Any, config: FlowConfig, process_id: Optional[str] = None)
Core flow implementation that wraps user-defined processors.
Source code in src/flow/core/f1.py
cancel
async
¶
execute
async
¶
execute(input_data: Optional[Dict[str, Any]] = None) -> FlowResult
Execute the flow and its dependencies.
This is the public interface that users should call.
Source code in src/flow/core/f1.py
register_to ¶
register_to(
parent_flow: "Flow",
required_deps: Optional[List[str]] = None,
optional_deps: Optional[List[str]] = None,
) -> None
Register this flow as a child of another flow.