nvflare.private.fed.simulator.simulator_app_runner module

class SimulatorClientAppRunner(time_out=60.0)[source]

Bases: ClientAppRunner

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.

create_run_manager(args, conf, federated_client, workspace)[source]
class SimulatorClientRunManager(client_name: str, job_id: str, workspace: Workspace, client: FederatedClient, components: Dict[str, FLComponent], handlers: List[FLComponent] | None = None, conf: ClientJsonConfigurator | None = None)[source]

Bases: ClientRunManager

To init the ClientRunManager.

Parameters:
  • client_name – client name

  • job_id – job id

  • workspace – workspace

  • client – FL client object

  • components – available FL components

  • handlers – available handlers

  • conf – ClientJsonConfigurator object

create_job_processing_context_properties(workspace, job_id)[source]
class SimulatorServerAppRunner(server)[source]

Bases: ServerAppRunner

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.

sync_up_parents_process(args)[source]
update_job_run_status()[source]