nvflare.private.fed.app.fl_conf module¶
FL Server / Client startup configure.
- class FLClientStarterConfiger(workspace: Workspace, args, kv_list=None)[source]¶
Bases:
JsonConfiguratorFL Client startup configure.
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:
JsonConfiguratorFL Server startup configure.
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, is_server=False)[source]¶
Bases:
JsonConfiguratorUses 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