Skip to content

Commit

Permalink
update proto
Browse files Browse the repository at this point in the history
  • Loading branch information
panh99 committed Jan 22, 2024
1 parent 1368b30 commit 673db0b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions src/proto/flwr/proto/recordset.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ syntax = "proto3";

package flwr.proto;

message DoubleList { repeated double list = 1; }
message Sint64List { repeated sint64 list = 1; }
message BoolList { repeated bool list = 1; }
message StringList { repeated string list = 1; }
message BytesList { repeated bytes list = 1; }
message DoubleList { repeated double vals = 1; }
message Sint64List { repeated sint64 vals = 1; }
message BoolList { repeated bool vals = 1; }
message StringList { repeated string vals = 1; }
message BytesList { repeated bytes vals = 1; }

message Array {
string dtype = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/py/flwr/proto/recordset_pb2.py

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

40 changes: 20 additions & 20 deletions src/py/flwr/proto/recordset_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -13,62 +13,62 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

class DoubleList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
LIST_FIELD_NUMBER: builtins.int
VALS_FIELD_NUMBER: builtins.int
@property
def list(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
def vals(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
def __init__(self,
*,
list: typing.Optional[typing.Iterable[builtins.float]] = ...,
vals: typing.Optional[typing.Iterable[builtins.float]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["list",b"list"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["vals",b"vals"]) -> None: ...
global___DoubleList = DoubleList

class Sint64List(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
LIST_FIELD_NUMBER: builtins.int
VALS_FIELD_NUMBER: builtins.int
@property
def list(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
def vals(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
def __init__(self,
*,
list: typing.Optional[typing.Iterable[builtins.int]] = ...,
vals: typing.Optional[typing.Iterable[builtins.int]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["list",b"list"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["vals",b"vals"]) -> None: ...
global___Sint64List = Sint64List

class BoolList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
LIST_FIELD_NUMBER: builtins.int
VALS_FIELD_NUMBER: builtins.int
@property
def list(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ...
def vals(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ...
def __init__(self,
*,
list: typing.Optional[typing.Iterable[builtins.bool]] = ...,
vals: typing.Optional[typing.Iterable[builtins.bool]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["list",b"list"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["vals",b"vals"]) -> None: ...
global___BoolList = BoolList

class StringList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
LIST_FIELD_NUMBER: builtins.int
VALS_FIELD_NUMBER: builtins.int
@property
def list(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
def vals(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
def __init__(self,
*,
list: typing.Optional[typing.Iterable[typing.Text]] = ...,
vals: typing.Optional[typing.Iterable[typing.Text]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["list",b"list"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["vals",b"vals"]) -> None: ...
global___StringList = StringList

class BytesList(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
LIST_FIELD_NUMBER: builtins.int
VALS_FIELD_NUMBER: builtins.int
@property
def list(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
def vals(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
def __init__(self,
*,
list: typing.Optional[typing.Iterable[builtins.bytes]] = ...,
vals: typing.Optional[typing.Iterable[builtins.bytes]] = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["list",b"list"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["vals",b"vals"]) -> None: ...
global___BytesList = BytesList

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

0 comments on commit 673db0b

Please sign in to comment.