Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.5] Cherry pick 3106 #3107

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions nvflare/lighter/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ def prepare_project(project_dict, add_user_file_path=None, add_client_file_path=
if api_version not in [3]:
raise ValueError(f"API version expected 3 but found {api_version}")
project_name = project_dict.get("name")
if len(project_name) > 63:
print(f"Project name {project_name} is longer than 63. Will truncate it to {project_name[:63]}.")
project_name = project_name[:63]
project_dict["name"] = project_name
project_description = project_dict.get("description", "")
participants = list()
for p in project_dict.get("participants"):
Expand Down
Loading