f5
f5 ¶
Fixed Flow implementation that properly abstracts execution details.
Flow ¶
Flow(function: Optional[Callable], config: FlowConfig, process_id: Optional[str] = None)
Core flow implementation that wraps user-defined processors.
Source code in src/flow/core/f5.py
cancel
async
¶
execute
async
¶
execute(input_data: Optional[Dict[str, Any]] = None) -> FlowResult
Execute the flow and its dependencies.
Source code in src/flow/core/f5.py
get_dependencies ¶
get_dependencies(dep_type: Optional[DependencyType] = None) -> Set[str]
Get set of dependency process IDs, optionally filtered by type.
Source code in src/flow/core/f5.py
register_to ¶
register_to(
parent_flow: Flow,
required_deps: Optional[List[str]] = None,
optional_deps: Optional[List[str]] = None,
) -> Self
Register this flow as a child of another flow.