nvflare.lighter.utils module¶
- update_project_server_name_config(project_config: dict, old_server_name, server_name) dict [source]¶
- update_storage_locations(local_dir: str, workspace: str, default_resource_name: str = 'resources.json.default', job_storage_name: str = 'jobs-storage', snapshot_storage_name: str = 'snapshot-storage')[source]¶
Creates resources.json with snapshot-storage and jobs-storage set as folders directly under the workspace for the provided local_dir.