Skip to content

Commit

Permalink
updated protos
Browse files Browse the repository at this point in the history
  • Loading branch information
jafermarq committed Feb 28, 2024
1 parent 62bc05a commit 2df4dea
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
15 changes: 8 additions & 7 deletions src/py/flwr/proto/task_pb2.py

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

9 changes: 7 additions & 2 deletions src/py/flwr/proto/task_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
isort:skip_file
"""
import builtins
import flwr.proto.error_pb2
import flwr.proto.node_pb2
import flwr.proto.recordset_pb2
import google.protobuf.descriptor
Expand All @@ -23,6 +24,7 @@ class Task(google.protobuf.message.Message):
ANCESTRY_FIELD_NUMBER: builtins.int
TASK_TYPE_FIELD_NUMBER: builtins.int
RECORDSET_FIELD_NUMBER: builtins.int
ERROR_FIELD_NUMBER: builtins.int
@property
def producer(self) -> flwr.proto.node_pb2.Node: ...
@property
Expand All @@ -35,6 +37,8 @@ class Task(google.protobuf.message.Message):
task_type: typing.Text
@property
def recordset(self) -> flwr.proto.recordset_pb2.RecordSet: ...
@property
def error(self) -> flwr.proto.error_pb2.Error: ...
def __init__(self,
*,
producer: typing.Optional[flwr.proto.node_pb2.Node] = ...,
Expand All @@ -45,9 +49,10 @@ class Task(google.protobuf.message.Message):
ancestry: typing.Optional[typing.Iterable[typing.Text]] = ...,
task_type: typing.Text = ...,
recordset: typing.Optional[flwr.proto.recordset_pb2.RecordSet] = ...,
error: typing.Optional[flwr.proto.error_pb2.Error] = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["consumer",b"consumer","producer",b"producer","recordset",b"recordset"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["ancestry",b"ancestry","consumer",b"consumer","created_at",b"created_at","delivered_at",b"delivered_at","producer",b"producer","recordset",b"recordset","task_type",b"task_type","ttl",b"ttl"]) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["consumer",b"consumer","error",b"error","producer",b"producer","recordset",b"recordset"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["ancestry",b"ancestry","consumer",b"consumer","created_at",b"created_at","delivered_at",b"delivered_at","error",b"error","producer",b"producer","recordset",b"recordset","task_type",b"task_type","ttl",b"ttl"]) -> None: ...
global___Task = Task

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

0 comments on commit 2df4dea

Please sign in to comment.