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

Bug/SK-853 | Helper for package ignored in start_session #616

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Conversation

Wrede
Copy link
Member

@Wrede Wrede commented May 28, 2024

start_session helper in the api was default always numpyhelper, defualt is now "" empty, and will try to fetch helper type from package.

@Wrede Wrede requested a review from niklastheman May 28, 2024 13:19
return jsonify(
{
"success": False,
"message": "No compute package set. Set compute package before starting session.",
}
)
if not helper:
# get helper from compute package
helper = package["helper"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, it we can do this here, we should be able to do it also on the combiner? In that case - can we completely eliminate the need to set the helper in the session_config and instead have it encoded in the fedn.yaml? Even if we in the future will not always have a package, I think we will always have the concept of a Project where a fedn.yaml is used to configure things.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not completely follow, the package is not used by combiner, sire you could fetch this iformation using the statestore client. Also, this is beyond this PR. This is a small fix.

@Wrede Wrede requested a review from ahellander May 31, 2024 08:44
@Wrede Wrede merged commit 48d2647 into master Jun 7, 2024
11 checks passed
@Wrede Wrede deleted the bug/SK-853 branch June 7, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants