flwr-nightly 1.26.0.dev20260201__py3-none-any.whl → 1.26.0.dev20260203__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flwr/cli/federation/ls.py +4 -1
- flwr/cli/utils.py +2 -0
- flwr/common/typing.py +1 -0
- flwr/proto/clientappio_pb2.py +2 -2
- flwr/proto/clientappio_pb2_grpc.py +56 -56
- flwr/proto/clientappio_pb2_grpc.pyi +52 -52
- flwr/proto/federation_pb2.py +2 -2
- flwr/proto/federation_pb2.pyi +16 -4
- flwr/proto/run_pb2.py +5 -13
- flwr/proto/run_pb2.pyi +0 -57
- flwr/proto/serverappio_pb2.py +2 -2
- flwr/proto/serverappio_pb2_grpc.py +56 -100
- flwr/proto/serverappio_pb2_grpc.pyi +52 -72
- flwr/proto/simulationio_pb2.py +2 -2
- flwr/proto/simulationio_pb2_grpc.py +7 -51
- flwr/proto/simulationio_pb2_grpc.pyi +24 -44
- flwr/server/superlink/serverappio/serverappio_servicer.py +0 -18
- flwr/server/superlink/simulation/simulationio_servicer.py +0 -19
- flwr/supercore/constant.py +1 -0
- flwr/supercore/object_store/sql_object_store.py +22 -18
- flwr/superlink/federation/federation_manager.py +2 -2
- flwr/superlink/federation/noop_federation_manager.py +5 -4
- flwr/superlink/servicer/control/control_servicer.py +5 -3
- flwr/supernode/runtime/run_clientapp.py +12 -12
- flwr/supernode/servicer/clientappio/clientappio_servicer.py +4 -4
- {flwr_nightly-1.26.0.dev20260201.dist-info → flwr_nightly-1.26.0.dev20260203.dist-info}/METADATA +4 -4
- {flwr_nightly-1.26.0.dev20260201.dist-info → flwr_nightly-1.26.0.dev20260203.dist-info}/RECORD +29 -29
- {flwr_nightly-1.26.0.dev20260201.dist-info → flwr_nightly-1.26.0.dev20260203.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.26.0.dev20260201.dist-info → flwr_nightly-1.26.0.dev20260203.dist-info}/entry_points.txt +0 -0
flwr/cli/federation/ls.py
CHANGED
|
@@ -126,9 +126,12 @@ def _to_table(federations: list[Federation]) -> Table:
|
|
|
126
126
|
table.add_column(
|
|
127
127
|
Text("Federation", justify="center"), style="bright_black", no_wrap=True
|
|
128
128
|
)
|
|
129
|
+
table.add_column(
|
|
130
|
+
Text("Description", justify="center"), style="bright_black", no_wrap=True
|
|
131
|
+
)
|
|
129
132
|
|
|
130
133
|
for federation in federations:
|
|
131
|
-
table.add_row(federation.name)
|
|
134
|
+
table.add_row(federation.name, federation.description)
|
|
132
135
|
|
|
133
136
|
return table
|
|
134
137
|
|
flwr/cli/utils.py
CHANGED
|
@@ -100,6 +100,8 @@ def cli_output_handler(
|
|
|
100
100
|
restore_output()
|
|
101
101
|
print_json_error(captured_output.getvalue(), err)
|
|
102
102
|
else:
|
|
103
|
+
if isinstance(err, typer.Exit):
|
|
104
|
+
raise # Allow typer.Exit to escape normally
|
|
103
105
|
raise click.ClickException(str(err)) from None
|
|
104
106
|
finally:
|
|
105
107
|
if is_json:
|
flwr/common/typing.py
CHANGED
flwr/proto/clientappio_pb2.py
CHANGED
|
@@ -28,7 +28,7 @@ from flwr.proto import message_pb2 as flwr_dot_proto_dot_message__pb2
|
|
|
28
28
|
from flwr.proto import appio_pb2 as flwr_dot_proto_dot_appio__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/clientappio.proto\x12\nflwr.proto\x1a\x1a\x66lwr/proto/heartbeat.proto\x1a\x14\x66lwr/proto/run.proto\x1a\x18\x66lwr/proto/message.proto\x1a\x16\x66lwr/proto/appio.proto2\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/clientappio.proto\x12\nflwr.proto\x1a\x1a\x66lwr/proto/heartbeat.proto\x1a\x14\x66lwr/proto/run.proto\x1a\x18\x66lwr/proto/message.proto\x1a\x16\x66lwr/proto/appio.proto2\xdf\x07\n\x0b\x43lientAppIo\x12_\n\x10ListAppsToLaunch\x12#.flwr.proto.ListAppsToLaunchRequest\x1a$.flwr.proto.ListAppsToLaunchResponse\"\x00\x12S\n\x0cRequestToken\x12\x1f.flwr.proto.RequestTokenRequest\x1a .flwr.proto.RequestTokenResponse\"\x00\x12\x41\n\x06GetRun\x12\x19.flwr.proto.GetRunRequest\x1a\x1a.flwr.proto.GetRunResponse\"\x00\x12_\n\x10SendAppHeartbeat\x12#.flwr.proto.SendAppHeartbeatRequest\x1a$.flwr.proto.SendAppHeartbeatResponse\"\x00\x12V\n\rPullAppInputs\x12 .flwr.proto.PullAppInputsRequest\x1a!.flwr.proto.PullAppInputsResponse\"\x00\x12Y\n\x0ePushAppOutputs\x12!.flwr.proto.PushAppOutputsRequest\x1a\".flwr.proto.PushAppOutputsResponse\"\x00\x12M\n\nPushObject\x12\x1d.flwr.proto.PushObjectRequest\x1a\x1e.flwr.proto.PushObjectResponse\"\x00\x12M\n\nPullObject\x12\x1d.flwr.proto.PullObjectRequest\x1a\x1e.flwr.proto.PullObjectResponse\"\x00\x12q\n\x16\x43onfirmMessageReceived\x12).flwr.proto.ConfirmMessageReceivedRequest\x1a*.flwr.proto.ConfirmMessageReceivedResponse\"\x00\x12X\n\x0bPushMessage\x12\".flwr.proto.PushAppMessagesRequest\x1a#.flwr.proto.PushAppMessagesResponse\"\x00\x12X\n\x0bPullMessage\x12\".flwr.proto.PullAppMessagesRequest\x1a#.flwr.proto.PullAppMessagesResponse\"\x00\x62\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,5 +36,5 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.clientappio_pb2'
|
|
|
36
36
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
37
|
DESCRIPTOR._loaded_options = None
|
|
38
38
|
_globals['_CLIENTAPPIO']._serialized_start=145
|
|
39
|
-
_globals['_CLIENTAPPIO']._serialized_end=
|
|
39
|
+
_globals['_CLIENTAPPIO']._serialized_end=1136
|
|
40
40
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -57,6 +57,16 @@ class ClientAppIoStub(object):
|
|
|
57
57
|
request_serializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatRequest.SerializeToString,
|
|
58
58
|
response_deserializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatResponse.FromString,
|
|
59
59
|
_registered_method=True)
|
|
60
|
+
self.PullAppInputs = channel.unary_unary(
|
|
61
|
+
'/flwr.proto.ClientAppIo/PullAppInputs',
|
|
62
|
+
request_serializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsRequest.SerializeToString,
|
|
63
|
+
response_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsResponse.FromString,
|
|
64
|
+
_registered_method=True)
|
|
65
|
+
self.PushAppOutputs = channel.unary_unary(
|
|
66
|
+
'/flwr.proto.ClientAppIo/PushAppOutputs',
|
|
67
|
+
request_serializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsRequest.SerializeToString,
|
|
68
|
+
response_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsResponse.FromString,
|
|
69
|
+
_registered_method=True)
|
|
60
70
|
self.PushObject = channel.unary_unary(
|
|
61
71
|
'/flwr.proto.ClientAppIo/PushObject',
|
|
62
72
|
request_serializer=flwr_dot_proto_dot_message__pb2.PushObjectRequest.SerializeToString,
|
|
@@ -72,16 +82,6 @@ class ClientAppIoStub(object):
|
|
|
72
82
|
request_serializer=flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedRequest.SerializeToString,
|
|
73
83
|
response_deserializer=flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedResponse.FromString,
|
|
74
84
|
_registered_method=True)
|
|
75
|
-
self.PullClientAppInputs = channel.unary_unary(
|
|
76
|
-
'/flwr.proto.ClientAppIo/PullClientAppInputs',
|
|
77
|
-
request_serializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsRequest.SerializeToString,
|
|
78
|
-
response_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsResponse.FromString,
|
|
79
|
-
_registered_method=True)
|
|
80
|
-
self.PushClientAppOutputs = channel.unary_unary(
|
|
81
|
-
'/flwr.proto.ClientAppIo/PushClientAppOutputs',
|
|
82
|
-
request_serializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsRequest.SerializeToString,
|
|
83
|
-
response_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsResponse.FromString,
|
|
84
|
-
_registered_method=True)
|
|
85
85
|
self.PushMessage = channel.unary_unary(
|
|
86
86
|
'/flwr.proto.ClientAppIo/PushMessage',
|
|
87
87
|
request_serializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesRequest.SerializeToString,
|
|
@@ -133,6 +133,20 @@ class ClientAppIoServicer(object):
|
|
|
133
133
|
context.set_details('Method not implemented!')
|
|
134
134
|
raise NotImplementedError('Method not implemented!')
|
|
135
135
|
|
|
136
|
+
def PullAppInputs(self, request, context):
|
|
137
|
+
"""Pull app inputs
|
|
138
|
+
"""
|
|
139
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
140
|
+
context.set_details('Method not implemented!')
|
|
141
|
+
raise NotImplementedError('Method not implemented!')
|
|
142
|
+
|
|
143
|
+
def PushAppOutputs(self, request, context):
|
|
144
|
+
"""Push app outputs
|
|
145
|
+
"""
|
|
146
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
147
|
+
context.set_details('Method not implemented!')
|
|
148
|
+
raise NotImplementedError('Method not implemented!')
|
|
149
|
+
|
|
136
150
|
def PushObject(self, request, context):
|
|
137
151
|
"""///////////////////////////////////////////////////////////////////////////
|
|
138
152
|
Specific endpoints shared by ServerAppIo and ClientAppIo
|
|
@@ -158,26 +172,12 @@ class ClientAppIoServicer(object):
|
|
|
158
172
|
context.set_details('Method not implemented!')
|
|
159
173
|
raise NotImplementedError('Method not implemented!')
|
|
160
174
|
|
|
161
|
-
def
|
|
175
|
+
def PushMessage(self, request, context):
|
|
162
176
|
"""///////////////////////////////////////////////////////////////////////////
|
|
163
177
|
Specific endpoints for ClientAppIo
|
|
164
178
|
///////////////////////////////////////////////////////////////////////////
|
|
165
179
|
|
|
166
|
-
|
|
167
|
-
"""
|
|
168
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
169
|
-
context.set_details('Method not implemented!')
|
|
170
|
-
raise NotImplementedError('Method not implemented!')
|
|
171
|
-
|
|
172
|
-
def PushClientAppOutputs(self, request, context):
|
|
173
|
-
"""Push client app outputs
|
|
174
|
-
"""
|
|
175
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
176
|
-
context.set_details('Method not implemented!')
|
|
177
|
-
raise NotImplementedError('Method not implemented!')
|
|
178
|
-
|
|
179
|
-
def PushMessage(self, request, context):
|
|
180
|
-
"""Push Message
|
|
180
|
+
Push Message
|
|
181
181
|
"""
|
|
182
182
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
183
183
|
context.set_details('Method not implemented!')
|
|
@@ -213,6 +213,16 @@ def add_ClientAppIoServicer_to_server(servicer, server):
|
|
|
213
213
|
request_deserializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatRequest.FromString,
|
|
214
214
|
response_serializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatResponse.SerializeToString,
|
|
215
215
|
),
|
|
216
|
+
'PullAppInputs': grpc.unary_unary_rpc_method_handler(
|
|
217
|
+
servicer.PullAppInputs,
|
|
218
|
+
request_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsRequest.FromString,
|
|
219
|
+
response_serializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsResponse.SerializeToString,
|
|
220
|
+
),
|
|
221
|
+
'PushAppOutputs': grpc.unary_unary_rpc_method_handler(
|
|
222
|
+
servicer.PushAppOutputs,
|
|
223
|
+
request_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsRequest.FromString,
|
|
224
|
+
response_serializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsResponse.SerializeToString,
|
|
225
|
+
),
|
|
216
226
|
'PushObject': grpc.unary_unary_rpc_method_handler(
|
|
217
227
|
servicer.PushObject,
|
|
218
228
|
request_deserializer=flwr_dot_proto_dot_message__pb2.PushObjectRequest.FromString,
|
|
@@ -228,16 +238,6 @@ def add_ClientAppIoServicer_to_server(servicer, server):
|
|
|
228
238
|
request_deserializer=flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedRequest.FromString,
|
|
229
239
|
response_serializer=flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedResponse.SerializeToString,
|
|
230
240
|
),
|
|
231
|
-
'PullClientAppInputs': grpc.unary_unary_rpc_method_handler(
|
|
232
|
-
servicer.PullClientAppInputs,
|
|
233
|
-
request_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsRequest.FromString,
|
|
234
|
-
response_serializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsResponse.SerializeToString,
|
|
235
|
-
),
|
|
236
|
-
'PushClientAppOutputs': grpc.unary_unary_rpc_method_handler(
|
|
237
|
-
servicer.PushClientAppOutputs,
|
|
238
|
-
request_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsRequest.FromString,
|
|
239
|
-
response_serializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsResponse.SerializeToString,
|
|
240
|
-
),
|
|
241
241
|
'PushMessage': grpc.unary_unary_rpc_method_handler(
|
|
242
242
|
servicer.PushMessage,
|
|
243
243
|
request_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesRequest.FromString,
|
|
@@ -368,7 +368,7 @@ class ClientAppIo(object):
|
|
|
368
368
|
_registered_method=True)
|
|
369
369
|
|
|
370
370
|
@staticmethod
|
|
371
|
-
def
|
|
371
|
+
def PullAppInputs(request,
|
|
372
372
|
target,
|
|
373
373
|
options=(),
|
|
374
374
|
channel_credentials=None,
|
|
@@ -381,9 +381,9 @@ class ClientAppIo(object):
|
|
|
381
381
|
return grpc.experimental.unary_unary(
|
|
382
382
|
request,
|
|
383
383
|
target,
|
|
384
|
-
'/flwr.proto.ClientAppIo/
|
|
385
|
-
|
|
386
|
-
|
|
384
|
+
'/flwr.proto.ClientAppIo/PullAppInputs',
|
|
385
|
+
flwr_dot_proto_dot_appio__pb2.PullAppInputsRequest.SerializeToString,
|
|
386
|
+
flwr_dot_proto_dot_appio__pb2.PullAppInputsResponse.FromString,
|
|
387
387
|
options,
|
|
388
388
|
channel_credentials,
|
|
389
389
|
insecure,
|
|
@@ -395,7 +395,7 @@ class ClientAppIo(object):
|
|
|
395
395
|
_registered_method=True)
|
|
396
396
|
|
|
397
397
|
@staticmethod
|
|
398
|
-
def
|
|
398
|
+
def PushAppOutputs(request,
|
|
399
399
|
target,
|
|
400
400
|
options=(),
|
|
401
401
|
channel_credentials=None,
|
|
@@ -408,9 +408,9 @@ class ClientAppIo(object):
|
|
|
408
408
|
return grpc.experimental.unary_unary(
|
|
409
409
|
request,
|
|
410
410
|
target,
|
|
411
|
-
'/flwr.proto.ClientAppIo/
|
|
412
|
-
|
|
413
|
-
|
|
411
|
+
'/flwr.proto.ClientAppIo/PushAppOutputs',
|
|
412
|
+
flwr_dot_proto_dot_appio__pb2.PushAppOutputsRequest.SerializeToString,
|
|
413
|
+
flwr_dot_proto_dot_appio__pb2.PushAppOutputsResponse.FromString,
|
|
414
414
|
options,
|
|
415
415
|
channel_credentials,
|
|
416
416
|
insecure,
|
|
@@ -422,7 +422,7 @@ class ClientAppIo(object):
|
|
|
422
422
|
_registered_method=True)
|
|
423
423
|
|
|
424
424
|
@staticmethod
|
|
425
|
-
def
|
|
425
|
+
def PushObject(request,
|
|
426
426
|
target,
|
|
427
427
|
options=(),
|
|
428
428
|
channel_credentials=None,
|
|
@@ -435,9 +435,9 @@ class ClientAppIo(object):
|
|
|
435
435
|
return grpc.experimental.unary_unary(
|
|
436
436
|
request,
|
|
437
437
|
target,
|
|
438
|
-
'/flwr.proto.ClientAppIo/
|
|
439
|
-
flwr_dot_proto_dot_message__pb2.
|
|
440
|
-
flwr_dot_proto_dot_message__pb2.
|
|
438
|
+
'/flwr.proto.ClientAppIo/PushObject',
|
|
439
|
+
flwr_dot_proto_dot_message__pb2.PushObjectRequest.SerializeToString,
|
|
440
|
+
flwr_dot_proto_dot_message__pb2.PushObjectResponse.FromString,
|
|
441
441
|
options,
|
|
442
442
|
channel_credentials,
|
|
443
443
|
insecure,
|
|
@@ -449,7 +449,7 @@ class ClientAppIo(object):
|
|
|
449
449
|
_registered_method=True)
|
|
450
450
|
|
|
451
451
|
@staticmethod
|
|
452
|
-
def
|
|
452
|
+
def PullObject(request,
|
|
453
453
|
target,
|
|
454
454
|
options=(),
|
|
455
455
|
channel_credentials=None,
|
|
@@ -462,9 +462,9 @@ class ClientAppIo(object):
|
|
|
462
462
|
return grpc.experimental.unary_unary(
|
|
463
463
|
request,
|
|
464
464
|
target,
|
|
465
|
-
'/flwr.proto.ClientAppIo/
|
|
466
|
-
|
|
467
|
-
|
|
465
|
+
'/flwr.proto.ClientAppIo/PullObject',
|
|
466
|
+
flwr_dot_proto_dot_message__pb2.PullObjectRequest.SerializeToString,
|
|
467
|
+
flwr_dot_proto_dot_message__pb2.PullObjectResponse.FromString,
|
|
468
468
|
options,
|
|
469
469
|
channel_credentials,
|
|
470
470
|
insecure,
|
|
@@ -476,7 +476,7 @@ class ClientAppIo(object):
|
|
|
476
476
|
_registered_method=True)
|
|
477
477
|
|
|
478
478
|
@staticmethod
|
|
479
|
-
def
|
|
479
|
+
def ConfirmMessageReceived(request,
|
|
480
480
|
target,
|
|
481
481
|
options=(),
|
|
482
482
|
channel_credentials=None,
|
|
@@ -489,9 +489,9 @@ class ClientAppIo(object):
|
|
|
489
489
|
return grpc.experimental.unary_unary(
|
|
490
490
|
request,
|
|
491
491
|
target,
|
|
492
|
-
'/flwr.proto.ClientAppIo/
|
|
493
|
-
|
|
494
|
-
|
|
492
|
+
'/flwr.proto.ClientAppIo/ConfirmMessageReceived',
|
|
493
|
+
flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedRequest.SerializeToString,
|
|
494
|
+
flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedResponse.FromString,
|
|
495
495
|
options,
|
|
496
496
|
channel_credentials,
|
|
497
497
|
insecure,
|
|
@@ -70,6 +70,18 @@ class ClientAppIoStub:
|
|
|
70
70
|
]
|
|
71
71
|
"""App heartbeat"""
|
|
72
72
|
|
|
73
|
+
PullAppInputs: grpc.UnaryUnaryMultiCallable[
|
|
74
|
+
flwr.proto.appio_pb2.PullAppInputsRequest,
|
|
75
|
+
flwr.proto.appio_pb2.PullAppInputsResponse,
|
|
76
|
+
]
|
|
77
|
+
"""Pull app inputs"""
|
|
78
|
+
|
|
79
|
+
PushAppOutputs: grpc.UnaryUnaryMultiCallable[
|
|
80
|
+
flwr.proto.appio_pb2.PushAppOutputsRequest,
|
|
81
|
+
flwr.proto.appio_pb2.PushAppOutputsResponse,
|
|
82
|
+
]
|
|
83
|
+
"""Push app outputs"""
|
|
84
|
+
|
|
73
85
|
PushObject: grpc.UnaryUnaryMultiCallable[
|
|
74
86
|
flwr.proto.message_pb2.PushObjectRequest,
|
|
75
87
|
flwr.proto.message_pb2.PushObjectResponse,
|
|
@@ -93,29 +105,17 @@ class ClientAppIoStub:
|
|
|
93
105
|
]
|
|
94
106
|
"""Confirm Message Received"""
|
|
95
107
|
|
|
96
|
-
|
|
97
|
-
flwr.proto.appio_pb2.
|
|
98
|
-
flwr.proto.appio_pb2.
|
|
108
|
+
PushMessage: grpc.UnaryUnaryMultiCallable[
|
|
109
|
+
flwr.proto.appio_pb2.PushAppMessagesRequest,
|
|
110
|
+
flwr.proto.appio_pb2.PushAppMessagesResponse,
|
|
99
111
|
]
|
|
100
112
|
"""///////////////////////////////////////////////////////////////////////////
|
|
101
113
|
Specific endpoints for ClientAppIo
|
|
102
114
|
///////////////////////////////////////////////////////////////////////////
|
|
103
115
|
|
|
104
|
-
|
|
116
|
+
Push Message
|
|
105
117
|
"""
|
|
106
118
|
|
|
107
|
-
PushClientAppOutputs: grpc.UnaryUnaryMultiCallable[
|
|
108
|
-
flwr.proto.appio_pb2.PushAppOutputsRequest,
|
|
109
|
-
flwr.proto.appio_pb2.PushAppOutputsResponse,
|
|
110
|
-
]
|
|
111
|
-
"""Push client app outputs"""
|
|
112
|
-
|
|
113
|
-
PushMessage: grpc.UnaryUnaryMultiCallable[
|
|
114
|
-
flwr.proto.appio_pb2.PushAppMessagesRequest,
|
|
115
|
-
flwr.proto.appio_pb2.PushAppMessagesResponse,
|
|
116
|
-
]
|
|
117
|
-
"""Push Message"""
|
|
118
|
-
|
|
119
119
|
PullMessage: grpc.UnaryUnaryMultiCallable[
|
|
120
120
|
flwr.proto.appio_pb2.PullAppMessagesRequest,
|
|
121
121
|
flwr.proto.appio_pb2.PullAppMessagesResponse,
|
|
@@ -157,6 +157,18 @@ class ClientAppIoAsyncStub:
|
|
|
157
157
|
]
|
|
158
158
|
"""App heartbeat"""
|
|
159
159
|
|
|
160
|
+
PullAppInputs: grpc.aio.UnaryUnaryMultiCallable[
|
|
161
|
+
flwr.proto.appio_pb2.PullAppInputsRequest,
|
|
162
|
+
flwr.proto.appio_pb2.PullAppInputsResponse,
|
|
163
|
+
]
|
|
164
|
+
"""Pull app inputs"""
|
|
165
|
+
|
|
166
|
+
PushAppOutputs: grpc.aio.UnaryUnaryMultiCallable[
|
|
167
|
+
flwr.proto.appio_pb2.PushAppOutputsRequest,
|
|
168
|
+
flwr.proto.appio_pb2.PushAppOutputsResponse,
|
|
169
|
+
]
|
|
170
|
+
"""Push app outputs"""
|
|
171
|
+
|
|
160
172
|
PushObject: grpc.aio.UnaryUnaryMultiCallable[
|
|
161
173
|
flwr.proto.message_pb2.PushObjectRequest,
|
|
162
174
|
flwr.proto.message_pb2.PushObjectResponse,
|
|
@@ -180,29 +192,17 @@ class ClientAppIoAsyncStub:
|
|
|
180
192
|
]
|
|
181
193
|
"""Confirm Message Received"""
|
|
182
194
|
|
|
183
|
-
|
|
184
|
-
flwr.proto.appio_pb2.
|
|
185
|
-
flwr.proto.appio_pb2.
|
|
195
|
+
PushMessage: grpc.aio.UnaryUnaryMultiCallable[
|
|
196
|
+
flwr.proto.appio_pb2.PushAppMessagesRequest,
|
|
197
|
+
flwr.proto.appio_pb2.PushAppMessagesResponse,
|
|
186
198
|
]
|
|
187
199
|
"""///////////////////////////////////////////////////////////////////////////
|
|
188
200
|
Specific endpoints for ClientAppIo
|
|
189
201
|
///////////////////////////////////////////////////////////////////////////
|
|
190
202
|
|
|
191
|
-
|
|
203
|
+
Push Message
|
|
192
204
|
"""
|
|
193
205
|
|
|
194
|
-
PushClientAppOutputs: grpc.aio.UnaryUnaryMultiCallable[
|
|
195
|
-
flwr.proto.appio_pb2.PushAppOutputsRequest,
|
|
196
|
-
flwr.proto.appio_pb2.PushAppOutputsResponse,
|
|
197
|
-
]
|
|
198
|
-
"""Push client app outputs"""
|
|
199
|
-
|
|
200
|
-
PushMessage: grpc.aio.UnaryUnaryMultiCallable[
|
|
201
|
-
flwr.proto.appio_pb2.PushAppMessagesRequest,
|
|
202
|
-
flwr.proto.appio_pb2.PushAppMessagesResponse,
|
|
203
|
-
]
|
|
204
|
-
"""Push Message"""
|
|
205
|
-
|
|
206
206
|
PullMessage: grpc.aio.UnaryUnaryMultiCallable[
|
|
207
207
|
flwr.proto.appio_pb2.PullAppMessagesRequest,
|
|
208
208
|
flwr.proto.appio_pb2.PullAppMessagesResponse,
|
|
@@ -252,6 +252,22 @@ class ClientAppIoServicer(metaclass=abc.ABCMeta):
|
|
|
252
252
|
) -> typing.Union[flwr.proto.heartbeat_pb2.SendAppHeartbeatResponse, collections.abc.Awaitable[flwr.proto.heartbeat_pb2.SendAppHeartbeatResponse]]:
|
|
253
253
|
"""App heartbeat"""
|
|
254
254
|
|
|
255
|
+
@abc.abstractmethod
|
|
256
|
+
def PullAppInputs(
|
|
257
|
+
self,
|
|
258
|
+
request: flwr.proto.appio_pb2.PullAppInputsRequest,
|
|
259
|
+
context: _ServicerContext,
|
|
260
|
+
) -> typing.Union[flwr.proto.appio_pb2.PullAppInputsResponse, collections.abc.Awaitable[flwr.proto.appio_pb2.PullAppInputsResponse]]:
|
|
261
|
+
"""Pull app inputs"""
|
|
262
|
+
|
|
263
|
+
@abc.abstractmethod
|
|
264
|
+
def PushAppOutputs(
|
|
265
|
+
self,
|
|
266
|
+
request: flwr.proto.appio_pb2.PushAppOutputsRequest,
|
|
267
|
+
context: _ServicerContext,
|
|
268
|
+
) -> typing.Union[flwr.proto.appio_pb2.PushAppOutputsResponse, collections.abc.Awaitable[flwr.proto.appio_pb2.PushAppOutputsResponse]]:
|
|
269
|
+
"""Push app outputs"""
|
|
270
|
+
|
|
255
271
|
@abc.abstractmethod
|
|
256
272
|
def PushObject(
|
|
257
273
|
self,
|
|
@@ -282,34 +298,18 @@ class ClientAppIoServicer(metaclass=abc.ABCMeta):
|
|
|
282
298
|
"""Confirm Message Received"""
|
|
283
299
|
|
|
284
300
|
@abc.abstractmethod
|
|
285
|
-
def
|
|
301
|
+
def PushMessage(
|
|
286
302
|
self,
|
|
287
|
-
request: flwr.proto.appio_pb2.
|
|
303
|
+
request: flwr.proto.appio_pb2.PushAppMessagesRequest,
|
|
288
304
|
context: _ServicerContext,
|
|
289
|
-
) -> typing.Union[flwr.proto.appio_pb2.
|
|
305
|
+
) -> typing.Union[flwr.proto.appio_pb2.PushAppMessagesResponse, collections.abc.Awaitable[flwr.proto.appio_pb2.PushAppMessagesResponse]]:
|
|
290
306
|
"""///////////////////////////////////////////////////////////////////////////
|
|
291
307
|
Specific endpoints for ClientAppIo
|
|
292
308
|
///////////////////////////////////////////////////////////////////////////
|
|
293
309
|
|
|
294
|
-
|
|
310
|
+
Push Message
|
|
295
311
|
"""
|
|
296
312
|
|
|
297
|
-
@abc.abstractmethod
|
|
298
|
-
def PushClientAppOutputs(
|
|
299
|
-
self,
|
|
300
|
-
request: flwr.proto.appio_pb2.PushAppOutputsRequest,
|
|
301
|
-
context: _ServicerContext,
|
|
302
|
-
) -> typing.Union[flwr.proto.appio_pb2.PushAppOutputsResponse, collections.abc.Awaitable[flwr.proto.appio_pb2.PushAppOutputsResponse]]:
|
|
303
|
-
"""Push client app outputs"""
|
|
304
|
-
|
|
305
|
-
@abc.abstractmethod
|
|
306
|
-
def PushMessage(
|
|
307
|
-
self,
|
|
308
|
-
request: flwr.proto.appio_pb2.PushAppMessagesRequest,
|
|
309
|
-
context: _ServicerContext,
|
|
310
|
-
) -> typing.Union[flwr.proto.appio_pb2.PushAppMessagesResponse, collections.abc.Awaitable[flwr.proto.appio_pb2.PushAppMessagesResponse]]:
|
|
311
|
-
"""Push Message"""
|
|
312
|
-
|
|
313
313
|
@abc.abstractmethod
|
|
314
314
|
def PullMessage(
|
|
315
315
|
self,
|
flwr/proto/federation_pb2.py
CHANGED
|
@@ -26,7 +26,7 @@ from flwr.proto import run_pb2 as flwr_dot_proto_dot_run__pb2
|
|
|
26
26
|
from flwr.proto import node_pb2 as flwr_dot_proto_dot_node__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x66lwr/proto/federation.proto\x12\nflwr.proto\x1a\x14\x66lwr/proto/run.proto\x1a\x15\x66lwr/proto/node.proto\"#\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x66lwr/proto/federation.proto\x12\nflwr.proto\x1a\x14\x66lwr/proto/run.proto\x1a\x15\x66lwr/proto/node.proto\"#\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\xaf\x01\n\nFederation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bmember_aids\x18\x02 \x03(\t\x12#\n\x05nodes\x18\x03 \x03(\x0b\x32\x14.flwr.proto.NodeInfo\x12\x1d\n\x04runs\x18\x04 \x03(\x0b\x32\x0f.flwr.proto.Run\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12%\n\x08\x61\x63\x63ounts\x18\x06 \x03(\x0b\x32\x13.flwr.proto.Accountb\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,5 +36,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
36
|
_globals['_ACCOUNT']._serialized_start=88
|
|
37
37
|
_globals['_ACCOUNT']._serialized_end=123
|
|
38
38
|
_globals['_FEDERATION']._serialized_start=126
|
|
39
|
-
_globals['_FEDERATION']._serialized_end=
|
|
39
|
+
_globals['_FEDERATION']._serialized_end=301
|
|
40
40
|
# @@protoc_insertion_point(module_scope)
|
flwr/proto/federation_pb2.pyi
CHANGED
|
@@ -51,24 +51,36 @@ class Federation(google.protobuf.message.Message):
|
|
|
51
51
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
52
52
|
|
|
53
53
|
NAME_FIELD_NUMBER: builtins.int
|
|
54
|
-
|
|
54
|
+
MEMBER_AIDS_FIELD_NUMBER: builtins.int
|
|
55
55
|
NODES_FIELD_NUMBER: builtins.int
|
|
56
56
|
RUNS_FIELD_NUMBER: builtins.int
|
|
57
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
58
|
+
ACCOUNTS_FIELD_NUMBER: builtins.int
|
|
57
59
|
name: builtins.str
|
|
60
|
+
description: builtins.str
|
|
61
|
+
"""Added in v1.26.0"""
|
|
58
62
|
@property
|
|
59
|
-
def
|
|
63
|
+
def member_aids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
64
|
+
"""Deprecated in v1.26.0"""
|
|
65
|
+
|
|
60
66
|
@property
|
|
61
67
|
def nodes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[flwr.proto.node_pb2.NodeInfo]: ...
|
|
62
68
|
@property
|
|
63
69
|
def runs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[flwr.proto.run_pb2.Run]: ...
|
|
70
|
+
@property
|
|
71
|
+
def accounts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Account]:
|
|
72
|
+
"""Added in v1.26.0"""
|
|
73
|
+
|
|
64
74
|
def __init__(
|
|
65
75
|
self,
|
|
66
76
|
*,
|
|
67
77
|
name: builtins.str = ...,
|
|
68
|
-
|
|
78
|
+
member_aids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
69
79
|
nodes: collections.abc.Iterable[flwr.proto.node_pb2.NodeInfo] | None = ...,
|
|
70
80
|
runs: collections.abc.Iterable[flwr.proto.run_pb2.Run] | None = ...,
|
|
81
|
+
description: builtins.str = ...,
|
|
82
|
+
accounts: collections.abc.Iterable[global___Account] | None = ...,
|
|
71
83
|
) -> None: ...
|
|
72
|
-
def ClearField(self, field_name: typing.Literal["accounts", b"accounts", "name", b"name", "nodes", b"nodes", "runs", b"runs"]) -> None: ...
|
|
84
|
+
def ClearField(self, field_name: typing.Literal["accounts", b"accounts", "description", b"description", "member_aids", b"member_aids", "name", b"name", "nodes", b"nodes", "runs", b"runs"]) -> None: ...
|
|
73
85
|
|
|
74
86
|
global___Federation = Federation
|
flwr/proto/run_pb2.py
CHANGED
|
@@ -27,7 +27,7 @@ from flwr.proto import recorddict_pb2 as flwr_dot_proto_dot_recorddict__pb2
|
|
|
27
27
|
from flwr.proto import transport_pb2 as flwr_dot_proto_dot_transport__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x66lwr/proto/run.proto\x12\nflwr.proto\x1a\x15\x66lwr/proto/node.proto\x1a\x1b\x66lwr/proto/recorddict.proto\x1a\x1a\x66lwr/proto/transport.proto\"\xb7\x03\n\x03Run\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\x12\x0e\n\x06\x66\x61\x62_id\x18\x02 \x01(\t\x12\x13\n\x0b\x66\x61\x62_version\x18\x03 \x01(\t\x12<\n\x0foverride_config\x18\x04 \x03(\x0b\x32#.flwr.proto.Run.OverrideConfigEntry\x12\x10\n\x08\x66\x61\x62_hash\x18\x05 \x01(\t\x12\x12\n\npending_at\x18\x06 \x01(\t\x12\x13\n\x0bstarting_at\x18\x07 \x01(\t\x12\x12\n\nrunning_at\x18\x08 \x01(\t\x12\x13\n\x0b\x66inished_at\x18\t \x01(\t\x12%\n\x06status\x18\n \x01(\x0b\x32\x15.flwr.proto.RunStatus\x12\x10\n\x08\x66lwr_aid\x18\x0b \x01(\t\x12\x12\n\nfederation\x18\x0c \x01(\t\x12\x12\n\nbytes_sent\x18\r \x01(\x04\x12\x12\n\nbytes_recv\x18\x0e \x01(\x04\x12\x19\n\x11\x63lientapp_runtime\x18\x0f \x01(\x01\x1aI\n\x13OverrideConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.flwr.proto.Scalar:\x02\x38\x01\"@\n\tRunStatus\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x12\n\nsub_status\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\t\"?\n\rGetRunRequest\x12\x1e\n\x04node\x18\x01 \x01(\x0b\x32\x10.flwr.proto.Node\x12\x0e\n\x06run_id\x18\x02 \x01(\x04\".\n\x0eGetRunResponse\x12\x1c\n\x03run\x18\x01 \x01(\x0b\x32\x0f.flwr.proto.Run\"S\n\x16UpdateRunStatusRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\x12)\n\nrun_status\x18\x02 \x01(\x0b\x32\x15.flwr.proto.RunStatus\"\x19\n\x17UpdateRunStatusResponse\"
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x66lwr/proto/run.proto\x12\nflwr.proto\x1a\x15\x66lwr/proto/node.proto\x1a\x1b\x66lwr/proto/recorddict.proto\x1a\x1a\x66lwr/proto/transport.proto\"\xb7\x03\n\x03Run\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\x12\x0e\n\x06\x66\x61\x62_id\x18\x02 \x01(\t\x12\x13\n\x0b\x66\x61\x62_version\x18\x03 \x01(\t\x12<\n\x0foverride_config\x18\x04 \x03(\x0b\x32#.flwr.proto.Run.OverrideConfigEntry\x12\x10\n\x08\x66\x61\x62_hash\x18\x05 \x01(\t\x12\x12\n\npending_at\x18\x06 \x01(\t\x12\x13\n\x0bstarting_at\x18\x07 \x01(\t\x12\x12\n\nrunning_at\x18\x08 \x01(\t\x12\x13\n\x0b\x66inished_at\x18\t \x01(\t\x12%\n\x06status\x18\n \x01(\x0b\x32\x15.flwr.proto.RunStatus\x12\x10\n\x08\x66lwr_aid\x18\x0b \x01(\t\x12\x12\n\nfederation\x18\x0c \x01(\t\x12\x12\n\nbytes_sent\x18\r \x01(\x04\x12\x12\n\nbytes_recv\x18\x0e \x01(\x04\x12\x19\n\x11\x63lientapp_runtime\x18\x0f \x01(\x01\x1aI\n\x13OverrideConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.flwr.proto.Scalar:\x02\x38\x01\"@\n\tRunStatus\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x12\n\nsub_status\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\t\"?\n\rGetRunRequest\x12\x1e\n\x04node\x18\x01 \x01(\x0b\x32\x10.flwr.proto.Node\x12\x0e\n\x06run_id\x18\x02 \x01(\x04\".\n\x0eGetRunResponse\x12\x1c\n\x03run\x18\x01 \x01(\x0b\x32\x0f.flwr.proto.Run\"S\n\x16UpdateRunStatusRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\x12)\n\nrun_status\x18\x02 \x01(\x0b\x32\x15.flwr.proto.RunStatus\"\x19\n\x17UpdateRunStatusResponse\"-\n\x1bGetFederationOptionsRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\"T\n\x1cGetFederationOptionsResponse\x12\x34\n\x12\x66\x65\x64\x65ration_options\x18\x01 \x01(\x0b\x32\x18.flwr.proto.ConfigRecordb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,8 +36,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
36
|
DESCRIPTOR._loaded_options = None
|
|
37
37
|
_globals['_RUN_OVERRIDECONFIGENTRY']._loaded_options = None
|
|
38
38
|
_globals['_RUN_OVERRIDECONFIGENTRY']._serialized_options = b'8\001'
|
|
39
|
-
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._loaded_options = None
|
|
40
|
-
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_options = b'8\001'
|
|
41
39
|
_globals['_RUN']._serialized_start=117
|
|
42
40
|
_globals['_RUN']._serialized_end=556
|
|
43
41
|
_globals['_RUN_OVERRIDECONFIGENTRY']._serialized_start=483
|
|
@@ -52,14 +50,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
52
50
|
_globals['_UPDATERUNSTATUSREQUEST']._serialized_end=820
|
|
53
51
|
_globals['_UPDATERUNSTATUSRESPONSE']._serialized_start=822
|
|
54
52
|
_globals['_UPDATERUNSTATUSRESPONSE']._serialized_end=847
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_start=1024
|
|
60
|
-
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_end=1099
|
|
61
|
-
_globals['_GETFEDERATIONOPTIONSREQUEST']._serialized_start=1101
|
|
62
|
-
_globals['_GETFEDERATIONOPTIONSREQUEST']._serialized_end=1146
|
|
63
|
-
_globals['_GETFEDERATIONOPTIONSRESPONSE']._serialized_start=1148
|
|
64
|
-
_globals['_GETFEDERATIONOPTIONSRESPONSE']._serialized_end=1232
|
|
53
|
+
_globals['_GETFEDERATIONOPTIONSREQUEST']._serialized_start=849
|
|
54
|
+
_globals['_GETFEDERATIONOPTIONSREQUEST']._serialized_end=894
|
|
55
|
+
_globals['_GETFEDERATIONOPTIONSRESPONSE']._serialized_start=896
|
|
56
|
+
_globals['_GETFEDERATIONOPTIONSRESPONSE']._serialized_end=980
|
|
65
57
|
# @@protoc_insertion_point(module_scope)
|
flwr/proto/run_pb2.pyi
CHANGED
|
@@ -202,63 +202,6 @@ class UpdateRunStatusResponse(google.protobuf.message.Message):
|
|
|
202
202
|
|
|
203
203
|
global___UpdateRunStatusResponse = UpdateRunStatusResponse
|
|
204
204
|
|
|
205
|
-
@typing.final
|
|
206
|
-
class GetRunStatusRequest(google.protobuf.message.Message):
|
|
207
|
-
"""GetRunStatus"""
|
|
208
|
-
|
|
209
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
210
|
-
|
|
211
|
-
NODE_FIELD_NUMBER: builtins.int
|
|
212
|
-
RUN_IDS_FIELD_NUMBER: builtins.int
|
|
213
|
-
@property
|
|
214
|
-
def node(self) -> flwr.proto.node_pb2.Node: ...
|
|
215
|
-
@property
|
|
216
|
-
def run_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
217
|
-
def __init__(
|
|
218
|
-
self,
|
|
219
|
-
*,
|
|
220
|
-
node: flwr.proto.node_pb2.Node | None = ...,
|
|
221
|
-
run_ids: collections.abc.Iterable[builtins.int] | None = ...,
|
|
222
|
-
) -> None: ...
|
|
223
|
-
def HasField(self, field_name: typing.Literal["node", b"node"]) -> builtins.bool: ...
|
|
224
|
-
def ClearField(self, field_name: typing.Literal["node", b"node", "run_ids", b"run_ids"]) -> None: ...
|
|
225
|
-
|
|
226
|
-
global___GetRunStatusRequest = GetRunStatusRequest
|
|
227
|
-
|
|
228
|
-
@typing.final
|
|
229
|
-
class GetRunStatusResponse(google.protobuf.message.Message):
|
|
230
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
231
|
-
|
|
232
|
-
@typing.final
|
|
233
|
-
class RunStatusDictEntry(google.protobuf.message.Message):
|
|
234
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
235
|
-
|
|
236
|
-
KEY_FIELD_NUMBER: builtins.int
|
|
237
|
-
VALUE_FIELD_NUMBER: builtins.int
|
|
238
|
-
key: builtins.int
|
|
239
|
-
@property
|
|
240
|
-
def value(self) -> global___RunStatus: ...
|
|
241
|
-
def __init__(
|
|
242
|
-
self,
|
|
243
|
-
*,
|
|
244
|
-
key: builtins.int = ...,
|
|
245
|
-
value: global___RunStatus | None = ...,
|
|
246
|
-
) -> None: ...
|
|
247
|
-
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
|
248
|
-
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
249
|
-
|
|
250
|
-
RUN_STATUS_DICT_FIELD_NUMBER: builtins.int
|
|
251
|
-
@property
|
|
252
|
-
def run_status_dict(self) -> google.protobuf.internal.containers.MessageMap[builtins.int, global___RunStatus]: ...
|
|
253
|
-
def __init__(
|
|
254
|
-
self,
|
|
255
|
-
*,
|
|
256
|
-
run_status_dict: collections.abc.Mapping[builtins.int, global___RunStatus] | None = ...,
|
|
257
|
-
) -> None: ...
|
|
258
|
-
def ClearField(self, field_name: typing.Literal["run_status_dict", b"run_status_dict"]) -> None: ...
|
|
259
|
-
|
|
260
|
-
global___GetRunStatusResponse = GetRunStatusResponse
|
|
261
|
-
|
|
262
205
|
@typing.final
|
|
263
206
|
class GetFederationOptionsRequest(google.protobuf.message.Message):
|
|
264
207
|
"""Get Federation Options associated with run"""
|
flwr/proto/serverappio_pb2.py
CHANGED
|
@@ -31,7 +31,7 @@ from flwr.proto import fab_pb2 as flwr_dot_proto_dot_fab__pb2
|
|
|
31
31
|
from flwr.proto import appio_pb2 as flwr_dot_proto_dot_appio__pb2
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/serverappio.proto\x12\nflwr.proto\x1a\x1a\x66lwr/proto/heartbeat.proto\x1a\x14\x66lwr/proto/log.proto\x1a\x15\x66lwr/proto/node.proto\x1a\x18\x66lwr/proto/message.proto\x1a\x14\x66lwr/proto/run.proto\x1a\x14\x66lwr/proto/fab.proto\x1a\x16\x66lwr/proto/appio.proto\"!\n\x0fGetNodesRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\"3\n\x10GetNodesResponse\x12\x1f\n\x05nodes\x18\x01 \x03(\x0b\x32\x10.flwr.proto.Node2\
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/serverappio.proto\x12\nflwr.proto\x1a\x1a\x66lwr/proto/heartbeat.proto\x1a\x14\x66lwr/proto/log.proto\x1a\x15\x66lwr/proto/node.proto\x1a\x18\x66lwr/proto/message.proto\x1a\x14\x66lwr/proto/run.proto\x1a\x14\x66lwr/proto/fab.proto\x1a\x16\x66lwr/proto/appio.proto\"!\n\x0fGetNodesRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\"3\n\x10GetNodesResponse\x12\x1f\n\x05nodes\x18\x01 \x03(\x0b\x32\x10.flwr.proto.Node2\x94\n\n\x0bServerAppIo\x12_\n\x10ListAppsToLaunch\x12#.flwr.proto.ListAppsToLaunchRequest\x1a$.flwr.proto.ListAppsToLaunchResponse\"\x00\x12S\n\x0cRequestToken\x12\x1f.flwr.proto.RequestTokenRequest\x1a .flwr.proto.RequestTokenResponse\"\x00\x12\x41\n\x06GetRun\x12\x19.flwr.proto.GetRunRequest\x1a\x1a.flwr.proto.GetRunResponse\"\x00\x12_\n\x10SendAppHeartbeat\x12#.flwr.proto.SendAppHeartbeatRequest\x1a$.flwr.proto.SendAppHeartbeatResponse\"\x00\x12V\n\rPullAppInputs\x12 .flwr.proto.PullAppInputsRequest\x1a!.flwr.proto.PullAppInputsResponse\"\x00\x12Y\n\x0ePushAppOutputs\x12!.flwr.proto.PushAppOutputsRequest\x1a\".flwr.proto.PushAppOutputsResponse\"\x00\x12M\n\nPushObject\x12\x1d.flwr.proto.PushObjectRequest\x1a\x1e.flwr.proto.PushObjectResponse\"\x00\x12M\n\nPullObject\x12\x1d.flwr.proto.PullObjectRequest\x1a\x1e.flwr.proto.PullObjectResponse\"\x00\x12q\n\x16\x43onfirmMessageReceived\x12).flwr.proto.ConfirmMessageReceivedRequest\x1a*.flwr.proto.ConfirmMessageReceivedResponse\"\x00\x12\\\n\x0fUpdateRunStatus\x12\".flwr.proto.UpdateRunStatusRequest\x1a#.flwr.proto.UpdateRunStatusResponse\"\x00\x12G\n\x08PushLogs\x12\x1b.flwr.proto.PushLogsRequest\x1a\x1c.flwr.proto.PushLogsResponse\"\x00\x12Y\n\x0cPushMessages\x12\".flwr.proto.PushAppMessagesRequest\x1a#.flwr.proto.PushAppMessagesResponse\"\x00\x12Y\n\x0cPullMessages\x12\".flwr.proto.PullAppMessagesRequest\x1a#.flwr.proto.PullAppMessagesResponse\"\x00\x12G\n\x08GetNodes\x12\x1b.flwr.proto.GetNodesRequest\x1a\x1c.flwr.proto.GetNodesResponse\"\x00\x12\x41\n\x06GetFab\x12\x19.flwr.proto.GetFabRequest\x1a\x1a.flwr.proto.GetFabResponse\"\x00\x62\x06proto3')
|
|
35
35
|
|
|
36
36
|
_globals = globals()
|
|
37
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -43,5 +43,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
43
43
|
_globals['_GETNODESRESPONSE']._serialized_start=246
|
|
44
44
|
_globals['_GETNODESRESPONSE']._serialized_end=297
|
|
45
45
|
_globals['_SERVERAPPIO']._serialized_start=300
|
|
46
|
-
_globals['_SERVERAPPIO']._serialized_end=
|
|
46
|
+
_globals['_SERVERAPPIO']._serialized_end=1600
|
|
47
47
|
# @@protoc_insertion_point(module_scope)
|