nvflare.app_common.job_launcher.server_process_launcher module

class ServerProcessJobLauncher[source]

Bases: ProcessJobLauncher

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.

get_command(job_meta, fl_ctx) str[source]

To generate the command to launcher the job in sub-process

Parameters:
  • fl_ctx – FLContext

  • job_meta – job meta data

Returns:

launch command