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

feat(framework) Addrun_id to fab.proto #4683

Merged
merged 5 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions src/proto/flwr/proto/fab.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ message Fab {
message GetFabRequest {
Node node = 1;
string hash_str = 2;
uint64 run_id = 3;
}
message GetFabResponse { Fab fab = 1; }
8 changes: 4 additions & 4 deletions src/py/flwr/proto/fab_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/py/flwr/proto/fab_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,19 @@ class GetFabRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
NODE_FIELD_NUMBER: builtins.int
HASH_STR_FIELD_NUMBER: builtins.int
RUN_ID_FIELD_NUMBER: builtins.int
@property
def node(self) -> flwr.proto.node_pb2.Node: ...
hash_str: typing.Text
run_id: builtins.int
def __init__(self,
*,
node: typing.Optional[flwr.proto.node_pb2.Node] = ...,
hash_str: typing.Text = ...,
run_id: builtins.int = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["node",b"node"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["hash_str",b"hash_str","node",b"node"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["hash_str",b"hash_str","node",b"node","run_id",b"run_id"]) -> None: ...
global___GetFabRequest = GetFabRequest

class GetFabResponse(google.protobuf.message.Message):
Expand Down