Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
yanchengnv committed Nov 4, 2024
1 parent 0461235 commit 0092e2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nvflare/apis/fl_constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ class WorkspaceConstants:

ADMIN_STARTUP_CONFIG = "fed_admin.json"

RESOURCE_FILE_NAME_PATTERN = "*__resources.json" # for bot parent and job processes
RESOURCE_FILE_NAME_PATTERN = "*__resources.json" # for both parent and job processes
JOB_RESOURCE_FILE_NAME_PATTERN = "*__j_resources.json" # for job process only
PARENT_RESOURCE_FILE_NAME_PATTERN = "*__p_resources.json" # for parent process only

Expand Down
6 changes: 3 additions & 3 deletions nvflare/apis/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ def get_config_files_for_startup(self, is_server: bool, for_job: bool) -> list:
- the startup file (fed_server.json or fed_client.json) in "startup" folder
- resource file (resources.json.default or resources.json) in "local" folder
We then try to get component files (usually generated by different builders of the Provision system):
- component files from the "startup" folder take precedence
- component files from the "local" folder are next
We then try to get resources files (usually generated by different builders of the Provision system):
- resources files from the "startup" folder take precedence
- resources files from the "local" folder are next
These extra resource config files must be json and follow the following patterns:
- *__resources.json: these files are for both parent process and job processes
Expand Down

0 comments on commit 0092e2a

Please sign in to comment.