Skip to content

Commit

Permalink
align with main
Browse files Browse the repository at this point in the history
  • Loading branch information
panh99 committed Sep 19, 2024
1 parent 65e7387 commit 4b3c895
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 21 deletions.
6 changes: 1 addition & 5 deletions src/proto/flwr/proto/run.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,8 @@ message CreateRunRequest {
string fab_version = 2;
map<string, Scalar> override_config = 3;
Fab fab = 4;
double ttl = 5;
}
message CreateRunResponse {
bool success = 1;
uint64 run_id = 2;
}
message CreateRunResponse { uint64 run_id = 1; }

// GetRun
message GetRunRequest { uint64 run_id = 1; }
Expand Down
16 changes: 8 additions & 8 deletions src/py/flwr/proto/run_pb2.py

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

10 changes: 2 additions & 8 deletions src/py/flwr/proto/run_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -74,38 +74,32 @@ class CreateRunRequest(google.protobuf.message.Message):
FAB_VERSION_FIELD_NUMBER: builtins.int
OVERRIDE_CONFIG_FIELD_NUMBER: builtins.int
FAB_FIELD_NUMBER: builtins.int
TTL_FIELD_NUMBER: builtins.int
fab_id: typing.Text
fab_version: typing.Text
@property
def override_config(self) -> google.protobuf.internal.containers.MessageMap[typing.Text, flwr.proto.transport_pb2.Scalar]: ...
@property
def fab(self) -> flwr.proto.fab_pb2.Fab: ...
ttl: builtins.float
def __init__(self,
*,
fab_id: typing.Text = ...,
fab_version: typing.Text = ...,
override_config: typing.Optional[typing.Mapping[typing.Text, flwr.proto.transport_pb2.Scalar]] = ...,
fab: typing.Optional[flwr.proto.fab_pb2.Fab] = ...,
ttl: builtins.float = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["fab",b"fab"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["fab",b"fab","fab_id",b"fab_id","fab_version",b"fab_version","override_config",b"override_config","ttl",b"ttl"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["fab",b"fab","fab_id",b"fab_id","fab_version",b"fab_version","override_config",b"override_config"]) -> None: ...
global___CreateRunRequest = CreateRunRequest

class CreateRunResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
SUCCESS_FIELD_NUMBER: builtins.int
RUN_ID_FIELD_NUMBER: builtins.int
success: builtins.bool
run_id: builtins.int
def __init__(self,
*,
success: builtins.bool = ...,
run_id: builtins.int = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["run_id",b"run_id","success",b"success"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["run_id",b"run_id"]) -> None: ...
global___CreateRunResponse = CreateRunResponse

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

0 comments on commit 4b3c895

Please sign in to comment.