nvflare.private.fed.utils.fed_utils module

add_logfile_handler(log_file)[source]
deploy_app(app_name, site_name, workspace, app_data)[source]
listen_command(listen_port, engine, execute_func, logger)[source]
make_context_data(fl_ctx)[source]
make_shareable_data(shareable)[source]
secure_content_check(config: str, site_type: str) List[str][source]

To check the security contents.

Parameters
  • config (str) – The fed_XXX config

  • site_type (str) – “server” or “client”

Returns

A list of insecure content.

shareable_to_modeldata(shareable, fl_ctx)[source]