nvflare.app_common.workflows.broadcast_operator module

class BroadcastAndWait(fl_ctx: FLContext, controller: ErrorHandlingController)[source]

Bases: FLComponent

Init FLComponent.

The FLComponent is the base class of all FL Components. (executors, controllers, responders, filters, aggregators, and widgets are all FLComponents)

FLComponents have the capability to handle and fire events and contain various methods for logging.

broadcast_and_wait(task_name: str, task_input: Shareable, fl_ctx: FLContext, targets: List[Client] | List[str] | None = None, task_props: Dict | None = None, min_responses: int = 1, abort_signal: Signal | None = None) Dict[str, DXO][source]
get_tasks(task_name: str, task_inputs: Dict[str, Shareable]) Dict[str, Task][source]
multicasts_and_wait(task_name: str, task_inputs: Dict[str, Shareable], fl_ctx: FLContext, abort_signal: Signal | None = None, task_check_period: int = 0.5) Dict[str, DXO][source]
results_cb(client_task: ClientTask, fl_ctx: FLContext)[source]
update_result(client_name: str, dxo: DXO)[source]