nvflare.private.fed.server.server_json_config module

class ServerJsonConfigurator(config_file_name: str, args, app_root: str, kv_list=None, exclude_libs=True)[source]

Bases: FedJsonConfigurator

This class parses server config from json file.

Parameters:
  • config_file_name (str) – json file to parse

  • exclude_libs (bool) – whether to exclude libs

build_component(config_dict)[source]
finalize_config(config_ctx: ConfigContext)[source]
process_config_element(config_ctx: ConfigContext, node: Node)[source]
class WorkFlow(id, controller: Controller)[source]

Bases: object

Workflow is a controller with ID.

Setting communicator to WFCommServer for server-side workflow.

Parameters:
  • id – identification

  • controller (Controller) – A controller