nvflare.apis.workspace module¶
- class Workspace(root_dir: str, site_name: str = '', config_folder: str = 'config')[source]¶
Bases:
object
Define a workspace.
NOTE:
Example of client workspace folder structure: Workspace ROOT local authorization.json.default resources.json.default custom/ custom python code ... startup (optional) provisioned content fed_client.json run_1 app config (required) configurations custom (optional) custom python code other_folder (app defined) log.txt job_meta.json ...
- Parameters:
root_dir – root directory of the workspace
site_name – site name of the workspace
config_folder – where to find required config inside an app