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

Feature/SK-544 | Server side changes for c++ client #534

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Conversation

Wrede
Copy link
Member

@Wrede Wrede commented Feb 26, 2024

Introduces protobuf changes. pakage is now called "fedn" instead of "grpc" (caused conflicts in protoc c++ lib). Added field "config" to ModelUpdate message instead of processing nested json in "meta" field. Added changes to AggregatorBase to still allow the nested json and the new field.

@Wrede Wrede requested a review from ahellander February 26, 2024 17:07
metadata = json.loads(model_update.meta)
if 'config' in metadata.keys():
# Used in Python client
config = json.loads(metadata['config'])
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to support both versions of the message? Why not just introduce the new config?

Copy link
Member Author

Choose a reason for hiding this comment

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

because of backward compability

@Wrede Wrede requested a review from ahellander February 28, 2024 11:55
@Wrede Wrede merged commit 1a5ae72 into master Mar 1, 2024
15 checks passed
@Wrede Wrede deleted the feature/cpp branch March 1, 2024 09:39
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