Skip to content

Commit

Permalink
feat(framework) Addrun_id to fab.proto (#4683)
Browse files Browse the repository at this point in the history
  • Loading branch information
chongshenng authored Dec 12, 2024
1 parent 89da49d commit 5d84259
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
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

0 comments on commit 5d84259

Please sign in to comment.