nvflare.private.fed.app.fl_conf module¶
FL Server / Client startup configer.
- class FLAdminClientStarterConfigurator(workspace: Workspace)[source]¶
Bases:
JsonConfigurator
FL Admin Client startup configurator.
Uses the json configuration to start the FL admin client.
- Parameters:
workspace – the workspace object
- process_config_element(config_ctx: ConfigContext, node: Node)[source]¶
Process config element.
- Parameters:
config_ctx – config context
node – element node
- start_config(config_ctx: ConfigContext)[source]¶
Start the config process.
- Parameters:
config_ctx – config context
- class FLClientStarterConfiger(workspace: Workspace, args, kv_list=None)[source]¶
Bases:
JsonConfigurator
FL Client startup configer.
Init the FLClientStarterConfiger.
- Parameters:
workspace – the workspace object
kv_list – key value pair list
- finalize_config(config_ctx: ConfigContext)[source]¶
Finalize the config process.
- Parameters:
config_ctx – config context
- process_config_element(config_ctx: ConfigContext, node: Node)[source]¶
Process config element.
- Parameters:
config_ctx – config context
node – element node
- start_config(config_ctx: ConfigContext)[source]¶
Start the config process.
- Parameters:
config_ctx – config context
- class FLServerStarterConfiger(workspace: Workspace, args, kv_list=None)[source]¶
Bases:
JsonConfigurator
FL Server startup configer.
Init the FLServerStarterConfiger.
- Parameters:
workspace – the workspace object
kv_list – key value pair list
- finalize_config(config_ctx: ConfigContext)[source]¶
Finalize the config process.
- Parameters:
config_ctx – config context
- process_config_element(config_ctx: ConfigContext, node: Node)[source]¶
Process the config element.
- Parameters:
config_ctx – config context
node – element node
- start_config(config_ctx: ConfigContext)[source]¶
Start the config process.
- Parameters:
config_ctx – config context
- class PrivacyConfiger(workspace: Workspace, names_only: bool)[source]¶
Bases:
JsonConfigurator
Uses the json configuration to start the FL admin client.
- Parameters:
workspace – the workspace object
- finalize_config(config_ctx: ConfigContext)[source]¶
- process_config_element(config_ctx: ConfigContext, node: Node)[source]¶
Process config element.
- Parameters:
config_ctx – config context
node – element node