Skip to content

Commit

Permalink
Add fab_id and fab_version to CreateRunRequest (#3254)
Browse files Browse the repository at this point in the history
  • Loading branch information
panh99 authored Apr 12, 2024
1 parent 89f7905 commit 1b4b3e7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 19 deletions.
5 changes: 4 additions & 1 deletion src/proto/flwr/proto/driver.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ service Driver {
}

// CreateRun
message CreateRunRequest {}
message CreateRunRequest {
string fab_id = 1;
string fab_version = 2;
}
message CreateRunResponse { sint64 run_id = 1; }

// GetNodes messages
Expand Down
36 changes: 18 additions & 18 deletions src/py/flwr/proto/driver_pb2.py

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

8 changes: 8 additions & 0 deletions src/py/flwr/proto/driver_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,16 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class CreateRunRequest(google.protobuf.message.Message):
"""CreateRun"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
FAB_ID_FIELD_NUMBER: builtins.int
FAB_VERSION_FIELD_NUMBER: builtins.int
fab_id: typing.Text
fab_version: typing.Text
def __init__(self,
*,
fab_id: typing.Text = ...,
fab_version: typing.Text = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["fab_id",b"fab_id","fab_version",b"fab_version"]) -> None: ...
global___CreateRunRequest = CreateRunRequest

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

0 comments on commit 1b4b3e7

Please sign in to comment.