flwr-nightly 1.15.0.dev20250117__py3-none-any.whl → 1.15.0.dev20250119__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/client/app.py +7 -7
- flwr/client/clientapp/app.py +4 -6
- flwr/client/rest_client/connection.py +2 -3
- flwr/client/supernode/app.py +9 -15
- flwr/common/constant.py +0 -8
- flwr/common/exit/__init__.py +24 -0
- flwr/common/exit/exit.py +99 -0
- flwr/common/exit/exit_code.py +90 -0
- flwr/common/exit_handlers.py +24 -10
- flwr/proto/clientappio_pb2.py +13 -3
- flwr/proto/clientappio_pb2_grpc.py +63 -12
- flwr/proto/error_pb2.py +13 -3
- flwr/proto/error_pb2_grpc.py +20 -0
- flwr/proto/exec_pb2.py +15 -5
- flwr/proto/exec_pb2_grpc.py +105 -24
- flwr/proto/fab_pb2.py +13 -3
- flwr/proto/fab_pb2_grpc.py +20 -0
- flwr/proto/fleet_pb2.py +15 -5
- flwr/proto/fleet_pb2_grpc.py +147 -36
- flwr/proto/grpcadapter_pb2.py +14 -4
- flwr/proto/grpcadapter_pb2_grpc.py +35 -4
- flwr/proto/log_pb2.py +13 -3
- flwr/proto/log_pb2_grpc.py +20 -0
- flwr/proto/message_pb2.py +15 -5
- flwr/proto/message_pb2_grpc.py +20 -0
- flwr/proto/node_pb2.py +13 -3
- flwr/proto/node_pb2_grpc.py +20 -0
- flwr/proto/recordset_pb2.py +18 -8
- flwr/proto/recordset_pb2_grpc.py +20 -0
- flwr/proto/run_pb2.py +16 -6
- flwr/proto/run_pb2_grpc.py +20 -0
- flwr/proto/serverappio_pb2.py +13 -3
- flwr/proto/serverappio_pb2_grpc.py +175 -44
- flwr/proto/simulationio_pb2.py +13 -3
- flwr/proto/simulationio_pb2_grpc.py +105 -24
- flwr/proto/task_pb2.py +13 -3
- flwr/proto/task_pb2_grpc.py +20 -0
- flwr/proto/transport_pb2.py +20 -10
- flwr/proto/transport_pb2_grpc.py +35 -4
- flwr/server/app.py +9 -6
- flwr/server/serverapp/app.py +4 -6
- flwr/server/superlink/fleet/rest_rere/rest_api.py +2 -3
- {flwr_nightly-1.15.0.dev20250117.dist-info → flwr_nightly-1.15.0.dev20250119.dist-info}/METADATA +2 -2
- {flwr_nightly-1.15.0.dev20250117.dist-info → flwr_nightly-1.15.0.dev20250119.dist-info}/RECORD +47 -44
- {flwr_nightly-1.15.0.dev20250117.dist-info → flwr_nightly-1.15.0.dev20250119.dist-info}/LICENSE +0 -0
- {flwr_nightly-1.15.0.dev20250117.dist-info → flwr_nightly-1.15.0.dev20250119.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.15.0.dev20250117.dist-info → flwr_nightly-1.15.0.dev20250119.dist-info}/entry_points.txt +0 -0
flwr/proto/recordset_pb2_grpc.py
CHANGED
@@ -1,4 +1,24 @@
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
3
3
|
import grpc
|
4
|
+
import warnings
|
4
5
|
|
6
|
+
|
7
|
+
GRPC_GENERATED_VERSION = '1.69.0'
|
8
|
+
GRPC_VERSION = grpc.__version__
|
9
|
+
_version_not_supported = False
|
10
|
+
|
11
|
+
try:
|
12
|
+
from grpc._utilities import first_version_is_lower
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
14
|
+
except ImportError:
|
15
|
+
_version_not_supported = True
|
16
|
+
|
17
|
+
if _version_not_supported:
|
18
|
+
raise RuntimeError(
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
20
|
+
+ f' but the generated code in flwr/proto/recordset_pb2_grpc.py depends on'
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
24
|
+
)
|
flwr/proto/run_pb2.py
CHANGED
@@ -1,12 +1,22 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
3
4
|
# source: flwr/proto/run.proto
|
4
|
-
# Protobuf Python Version:
|
5
|
+
# Protobuf Python Version: 5.29.0
|
5
6
|
"""Generated protocol buffer code."""
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
9
11
|
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
29,
|
16
|
+
0,
|
17
|
+
'',
|
18
|
+
'flwr/proto/run.proto'
|
19
|
+
)
|
10
20
|
# @@protoc_insertion_point(imports)
|
11
21
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
@@ -23,13 +33,13 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x66lwr/proto/
|
|
23
33
|
_globals = globals()
|
24
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
25
35
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.run_pb2', _globals)
|
26
|
-
if _descriptor._USE_C_DESCRIPTORS
|
27
|
-
DESCRIPTOR.
|
28
|
-
_globals['_RUN_OVERRIDECONFIGENTRY'].
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
37
|
+
DESCRIPTOR._loaded_options = None
|
38
|
+
_globals['_RUN_OVERRIDECONFIGENTRY']._loaded_options = None
|
29
39
|
_globals['_RUN_OVERRIDECONFIGENTRY']._serialized_options = b'8\001'
|
30
|
-
_globals['_CREATERUNREQUEST_OVERRIDECONFIGENTRY'].
|
40
|
+
_globals['_CREATERUNREQUEST_OVERRIDECONFIGENTRY']._loaded_options = None
|
31
41
|
_globals['_CREATERUNREQUEST_OVERRIDECONFIGENTRY']._serialized_options = b'8\001'
|
32
|
-
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY'].
|
42
|
+
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._loaded_options = None
|
33
43
|
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_options = b'8\001'
|
34
44
|
_globals['_RUN']._serialized_start=138
|
35
45
|
_globals['_RUN']._serialized_end=472
|
flwr/proto/run_pb2_grpc.py
CHANGED
@@ -1,4 +1,24 @@
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
3
3
|
import grpc
|
4
|
+
import warnings
|
4
5
|
|
6
|
+
|
7
|
+
GRPC_GENERATED_VERSION = '1.69.0'
|
8
|
+
GRPC_VERSION = grpc.__version__
|
9
|
+
_version_not_supported = False
|
10
|
+
|
11
|
+
try:
|
12
|
+
from grpc._utilities import first_version_is_lower
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
14
|
+
except ImportError:
|
15
|
+
_version_not_supported = True
|
16
|
+
|
17
|
+
if _version_not_supported:
|
18
|
+
raise RuntimeError(
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
20
|
+
+ f' but the generated code in flwr/proto/run_pb2_grpc.py depends on'
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
24
|
+
)
|
flwr/proto/serverappio_pb2.py
CHANGED
@@ -1,12 +1,22 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
3
4
|
# source: flwr/proto/serverappio.proto
|
4
|
-
# Protobuf Python Version:
|
5
|
+
# Protobuf Python Version: 5.29.0
|
5
6
|
"""Generated protocol buffer code."""
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
9
11
|
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
29,
|
16
|
+
0,
|
17
|
+
'',
|
18
|
+
'flwr/proto/serverappio.proto'
|
19
|
+
)
|
10
20
|
# @@protoc_insertion_point(imports)
|
11
21
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
@@ -25,8 +35,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/
|
|
25
35
|
_globals = globals()
|
26
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
27
37
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.serverappio_pb2', _globals)
|
28
|
-
if _descriptor._USE_C_DESCRIPTORS
|
29
|
-
DESCRIPTOR.
|
38
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
39
|
+
DESCRIPTOR._loaded_options = None
|
30
40
|
_globals['_GETNODESREQUEST']._serialized_start=182
|
31
41
|
_globals['_GETNODESREQUEST']._serialized_end=215
|
32
42
|
_globals['_GETNODESRESPONSE']._serialized_start=217
|
@@ -1,12 +1,32 @@
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
3
3
|
import grpc
|
4
|
+
import warnings
|
4
5
|
|
5
6
|
from flwr.proto import fab_pb2 as flwr_dot_proto_dot_fab__pb2
|
6
7
|
from flwr.proto import log_pb2 as flwr_dot_proto_dot_log__pb2
|
7
8
|
from flwr.proto import run_pb2 as flwr_dot_proto_dot_run__pb2
|
8
9
|
from flwr.proto import serverappio_pb2 as flwr_dot_proto_dot_serverappio__pb2
|
9
10
|
|
11
|
+
GRPC_GENERATED_VERSION = '1.69.0'
|
12
|
+
GRPC_VERSION = grpc.__version__
|
13
|
+
_version_not_supported = False
|
14
|
+
|
15
|
+
try:
|
16
|
+
from grpc._utilities import first_version_is_lower
|
17
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
18
|
+
except ImportError:
|
19
|
+
_version_not_supported = True
|
20
|
+
|
21
|
+
if _version_not_supported:
|
22
|
+
raise RuntimeError(
|
23
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
24
|
+
+ f' but the generated code in flwr/proto/serverappio_pb2_grpc.py depends on'
|
25
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
26
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
27
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
28
|
+
)
|
29
|
+
|
10
30
|
|
11
31
|
class ServerAppIoStub(object):
|
12
32
|
"""Missing associated documentation comment in .proto file."""
|
@@ -21,57 +41,57 @@ class ServerAppIoStub(object):
|
|
21
41
|
'/flwr.proto.ServerAppIo/CreateRun',
|
22
42
|
request_serializer=flwr_dot_proto_dot_run__pb2.CreateRunRequest.SerializeToString,
|
23
43
|
response_deserializer=flwr_dot_proto_dot_run__pb2.CreateRunResponse.FromString,
|
24
|
-
)
|
44
|
+
_registered_method=True)
|
25
45
|
self.GetNodes = channel.unary_unary(
|
26
46
|
'/flwr.proto.ServerAppIo/GetNodes',
|
27
47
|
request_serializer=flwr_dot_proto_dot_serverappio__pb2.GetNodesRequest.SerializeToString,
|
28
48
|
response_deserializer=flwr_dot_proto_dot_serverappio__pb2.GetNodesResponse.FromString,
|
29
|
-
)
|
49
|
+
_registered_method=True)
|
30
50
|
self.PushTaskIns = channel.unary_unary(
|
31
51
|
'/flwr.proto.ServerAppIo/PushTaskIns',
|
32
52
|
request_serializer=flwr_dot_proto_dot_serverappio__pb2.PushTaskInsRequest.SerializeToString,
|
33
53
|
response_deserializer=flwr_dot_proto_dot_serverappio__pb2.PushTaskInsResponse.FromString,
|
34
|
-
)
|
54
|
+
_registered_method=True)
|
35
55
|
self.PullTaskRes = channel.unary_unary(
|
36
56
|
'/flwr.proto.ServerAppIo/PullTaskRes',
|
37
57
|
request_serializer=flwr_dot_proto_dot_serverappio__pb2.PullTaskResRequest.SerializeToString,
|
38
58
|
response_deserializer=flwr_dot_proto_dot_serverappio__pb2.PullTaskResResponse.FromString,
|
39
|
-
)
|
59
|
+
_registered_method=True)
|
40
60
|
self.GetRun = channel.unary_unary(
|
41
61
|
'/flwr.proto.ServerAppIo/GetRun',
|
42
62
|
request_serializer=flwr_dot_proto_dot_run__pb2.GetRunRequest.SerializeToString,
|
43
63
|
response_deserializer=flwr_dot_proto_dot_run__pb2.GetRunResponse.FromString,
|
44
|
-
)
|
64
|
+
_registered_method=True)
|
45
65
|
self.GetFab = channel.unary_unary(
|
46
66
|
'/flwr.proto.ServerAppIo/GetFab',
|
47
67
|
request_serializer=flwr_dot_proto_dot_fab__pb2.GetFabRequest.SerializeToString,
|
48
68
|
response_deserializer=flwr_dot_proto_dot_fab__pb2.GetFabResponse.FromString,
|
49
|
-
)
|
69
|
+
_registered_method=True)
|
50
70
|
self.PullServerAppInputs = channel.unary_unary(
|
51
71
|
'/flwr.proto.ServerAppIo/PullServerAppInputs',
|
52
72
|
request_serializer=flwr_dot_proto_dot_serverappio__pb2.PullServerAppInputsRequest.SerializeToString,
|
53
73
|
response_deserializer=flwr_dot_proto_dot_serverappio__pb2.PullServerAppInputsResponse.FromString,
|
54
|
-
)
|
74
|
+
_registered_method=True)
|
55
75
|
self.PushServerAppOutputs = channel.unary_unary(
|
56
76
|
'/flwr.proto.ServerAppIo/PushServerAppOutputs',
|
57
77
|
request_serializer=flwr_dot_proto_dot_serverappio__pb2.PushServerAppOutputsRequest.SerializeToString,
|
58
78
|
response_deserializer=flwr_dot_proto_dot_serverappio__pb2.PushServerAppOutputsResponse.FromString,
|
59
|
-
)
|
79
|
+
_registered_method=True)
|
60
80
|
self.UpdateRunStatus = channel.unary_unary(
|
61
81
|
'/flwr.proto.ServerAppIo/UpdateRunStatus',
|
62
82
|
request_serializer=flwr_dot_proto_dot_run__pb2.UpdateRunStatusRequest.SerializeToString,
|
63
83
|
response_deserializer=flwr_dot_proto_dot_run__pb2.UpdateRunStatusResponse.FromString,
|
64
|
-
)
|
84
|
+
_registered_method=True)
|
65
85
|
self.GetRunStatus = channel.unary_unary(
|
66
86
|
'/flwr.proto.ServerAppIo/GetRunStatus',
|
67
87
|
request_serializer=flwr_dot_proto_dot_run__pb2.GetRunStatusRequest.SerializeToString,
|
68
88
|
response_deserializer=flwr_dot_proto_dot_run__pb2.GetRunStatusResponse.FromString,
|
69
|
-
)
|
89
|
+
_registered_method=True)
|
70
90
|
self.PushLogs = channel.unary_unary(
|
71
91
|
'/flwr.proto.ServerAppIo/PushLogs',
|
72
92
|
request_serializer=flwr_dot_proto_dot_log__pb2.PushLogsRequest.SerializeToString,
|
73
93
|
response_deserializer=flwr_dot_proto_dot_log__pb2.PushLogsResponse.FromString,
|
74
|
-
)
|
94
|
+
_registered_method=True)
|
75
95
|
|
76
96
|
|
77
97
|
class ServerAppIoServicer(object):
|
@@ -216,6 +236,7 @@ def add_ServerAppIoServicer_to_server(servicer, server):
|
|
216
236
|
generic_handler = grpc.method_handlers_generic_handler(
|
217
237
|
'flwr.proto.ServerAppIo', rpc_method_handlers)
|
218
238
|
server.add_generic_rpc_handlers((generic_handler,))
|
239
|
+
server.add_registered_method_handlers('flwr.proto.ServerAppIo', rpc_method_handlers)
|
219
240
|
|
220
241
|
|
221
242
|
# This class is part of an EXPERIMENTAL API.
|
@@ -233,11 +254,21 @@ class ServerAppIo(object):
|
|
233
254
|
wait_for_ready=None,
|
234
255
|
timeout=None,
|
235
256
|
metadata=None):
|
236
|
-
return grpc.experimental.unary_unary(
|
257
|
+
return grpc.experimental.unary_unary(
|
258
|
+
request,
|
259
|
+
target,
|
260
|
+
'/flwr.proto.ServerAppIo/CreateRun',
|
237
261
|
flwr_dot_proto_dot_run__pb2.CreateRunRequest.SerializeToString,
|
238
262
|
flwr_dot_proto_dot_run__pb2.CreateRunResponse.FromString,
|
239
|
-
options,
|
240
|
-
|
263
|
+
options,
|
264
|
+
channel_credentials,
|
265
|
+
insecure,
|
266
|
+
call_credentials,
|
267
|
+
compression,
|
268
|
+
wait_for_ready,
|
269
|
+
timeout,
|
270
|
+
metadata,
|
271
|
+
_registered_method=True)
|
241
272
|
|
242
273
|
@staticmethod
|
243
274
|
def GetNodes(request,
|
@@ -250,11 +281,21 @@ class ServerAppIo(object):
|
|
250
281
|
wait_for_ready=None,
|
251
282
|
timeout=None,
|
252
283
|
metadata=None):
|
253
|
-
return grpc.experimental.unary_unary(
|
284
|
+
return grpc.experimental.unary_unary(
|
285
|
+
request,
|
286
|
+
target,
|
287
|
+
'/flwr.proto.ServerAppIo/GetNodes',
|
254
288
|
flwr_dot_proto_dot_serverappio__pb2.GetNodesRequest.SerializeToString,
|
255
289
|
flwr_dot_proto_dot_serverappio__pb2.GetNodesResponse.FromString,
|
256
|
-
options,
|
257
|
-
|
290
|
+
options,
|
291
|
+
channel_credentials,
|
292
|
+
insecure,
|
293
|
+
call_credentials,
|
294
|
+
compression,
|
295
|
+
wait_for_ready,
|
296
|
+
timeout,
|
297
|
+
metadata,
|
298
|
+
_registered_method=True)
|
258
299
|
|
259
300
|
@staticmethod
|
260
301
|
def PushTaskIns(request,
|
@@ -267,11 +308,21 @@ class ServerAppIo(object):
|
|
267
308
|
wait_for_ready=None,
|
268
309
|
timeout=None,
|
269
310
|
metadata=None):
|
270
|
-
return grpc.experimental.unary_unary(
|
311
|
+
return grpc.experimental.unary_unary(
|
312
|
+
request,
|
313
|
+
target,
|
314
|
+
'/flwr.proto.ServerAppIo/PushTaskIns',
|
271
315
|
flwr_dot_proto_dot_serverappio__pb2.PushTaskInsRequest.SerializeToString,
|
272
316
|
flwr_dot_proto_dot_serverappio__pb2.PushTaskInsResponse.FromString,
|
273
|
-
options,
|
274
|
-
|
317
|
+
options,
|
318
|
+
channel_credentials,
|
319
|
+
insecure,
|
320
|
+
call_credentials,
|
321
|
+
compression,
|
322
|
+
wait_for_ready,
|
323
|
+
timeout,
|
324
|
+
metadata,
|
325
|
+
_registered_method=True)
|
275
326
|
|
276
327
|
@staticmethod
|
277
328
|
def PullTaskRes(request,
|
@@ -284,11 +335,21 @@ class ServerAppIo(object):
|
|
284
335
|
wait_for_ready=None,
|
285
336
|
timeout=None,
|
286
337
|
metadata=None):
|
287
|
-
return grpc.experimental.unary_unary(
|
338
|
+
return grpc.experimental.unary_unary(
|
339
|
+
request,
|
340
|
+
target,
|
341
|
+
'/flwr.proto.ServerAppIo/PullTaskRes',
|
288
342
|
flwr_dot_proto_dot_serverappio__pb2.PullTaskResRequest.SerializeToString,
|
289
343
|
flwr_dot_proto_dot_serverappio__pb2.PullTaskResResponse.FromString,
|
290
|
-
options,
|
291
|
-
|
344
|
+
options,
|
345
|
+
channel_credentials,
|
346
|
+
insecure,
|
347
|
+
call_credentials,
|
348
|
+
compression,
|
349
|
+
wait_for_ready,
|
350
|
+
timeout,
|
351
|
+
metadata,
|
352
|
+
_registered_method=True)
|
292
353
|
|
293
354
|
@staticmethod
|
294
355
|
def GetRun(request,
|
@@ -301,11 +362,21 @@ class ServerAppIo(object):
|
|
301
362
|
wait_for_ready=None,
|
302
363
|
timeout=None,
|
303
364
|
metadata=None):
|
304
|
-
return grpc.experimental.unary_unary(
|
365
|
+
return grpc.experimental.unary_unary(
|
366
|
+
request,
|
367
|
+
target,
|
368
|
+
'/flwr.proto.ServerAppIo/GetRun',
|
305
369
|
flwr_dot_proto_dot_run__pb2.GetRunRequest.SerializeToString,
|
306
370
|
flwr_dot_proto_dot_run__pb2.GetRunResponse.FromString,
|
307
|
-
options,
|
308
|
-
|
371
|
+
options,
|
372
|
+
channel_credentials,
|
373
|
+
insecure,
|
374
|
+
call_credentials,
|
375
|
+
compression,
|
376
|
+
wait_for_ready,
|
377
|
+
timeout,
|
378
|
+
metadata,
|
379
|
+
_registered_method=True)
|
309
380
|
|
310
381
|
@staticmethod
|
311
382
|
def GetFab(request,
|
@@ -318,11 +389,21 @@ class ServerAppIo(object):
|
|
318
389
|
wait_for_ready=None,
|
319
390
|
timeout=None,
|
320
391
|
metadata=None):
|
321
|
-
return grpc.experimental.unary_unary(
|
392
|
+
return grpc.experimental.unary_unary(
|
393
|
+
request,
|
394
|
+
target,
|
395
|
+
'/flwr.proto.ServerAppIo/GetFab',
|
322
396
|
flwr_dot_proto_dot_fab__pb2.GetFabRequest.SerializeToString,
|
323
397
|
flwr_dot_proto_dot_fab__pb2.GetFabResponse.FromString,
|
324
|
-
options,
|
325
|
-
|
398
|
+
options,
|
399
|
+
channel_credentials,
|
400
|
+
insecure,
|
401
|
+
call_credentials,
|
402
|
+
compression,
|
403
|
+
wait_for_ready,
|
404
|
+
timeout,
|
405
|
+
metadata,
|
406
|
+
_registered_method=True)
|
326
407
|
|
327
408
|
@staticmethod
|
328
409
|
def PullServerAppInputs(request,
|
@@ -335,11 +416,21 @@ class ServerAppIo(object):
|
|
335
416
|
wait_for_ready=None,
|
336
417
|
timeout=None,
|
337
418
|
metadata=None):
|
338
|
-
return grpc.experimental.unary_unary(
|
419
|
+
return grpc.experimental.unary_unary(
|
420
|
+
request,
|
421
|
+
target,
|
422
|
+
'/flwr.proto.ServerAppIo/PullServerAppInputs',
|
339
423
|
flwr_dot_proto_dot_serverappio__pb2.PullServerAppInputsRequest.SerializeToString,
|
340
424
|
flwr_dot_proto_dot_serverappio__pb2.PullServerAppInputsResponse.FromString,
|
341
|
-
options,
|
342
|
-
|
425
|
+
options,
|
426
|
+
channel_credentials,
|
427
|
+
insecure,
|
428
|
+
call_credentials,
|
429
|
+
compression,
|
430
|
+
wait_for_ready,
|
431
|
+
timeout,
|
432
|
+
metadata,
|
433
|
+
_registered_method=True)
|
343
434
|
|
344
435
|
@staticmethod
|
345
436
|
def PushServerAppOutputs(request,
|
@@ -352,11 +443,21 @@ class ServerAppIo(object):
|
|
352
443
|
wait_for_ready=None,
|
353
444
|
timeout=None,
|
354
445
|
metadata=None):
|
355
|
-
return grpc.experimental.unary_unary(
|
446
|
+
return grpc.experimental.unary_unary(
|
447
|
+
request,
|
448
|
+
target,
|
449
|
+
'/flwr.proto.ServerAppIo/PushServerAppOutputs',
|
356
450
|
flwr_dot_proto_dot_serverappio__pb2.PushServerAppOutputsRequest.SerializeToString,
|
357
451
|
flwr_dot_proto_dot_serverappio__pb2.PushServerAppOutputsResponse.FromString,
|
358
|
-
options,
|
359
|
-
|
452
|
+
options,
|
453
|
+
channel_credentials,
|
454
|
+
insecure,
|
455
|
+
call_credentials,
|
456
|
+
compression,
|
457
|
+
wait_for_ready,
|
458
|
+
timeout,
|
459
|
+
metadata,
|
460
|
+
_registered_method=True)
|
360
461
|
|
361
462
|
@staticmethod
|
362
463
|
def UpdateRunStatus(request,
|
@@ -369,11 +470,21 @@ class ServerAppIo(object):
|
|
369
470
|
wait_for_ready=None,
|
370
471
|
timeout=None,
|
371
472
|
metadata=None):
|
372
|
-
return grpc.experimental.unary_unary(
|
473
|
+
return grpc.experimental.unary_unary(
|
474
|
+
request,
|
475
|
+
target,
|
476
|
+
'/flwr.proto.ServerAppIo/UpdateRunStatus',
|
373
477
|
flwr_dot_proto_dot_run__pb2.UpdateRunStatusRequest.SerializeToString,
|
374
478
|
flwr_dot_proto_dot_run__pb2.UpdateRunStatusResponse.FromString,
|
375
|
-
options,
|
376
|
-
|
479
|
+
options,
|
480
|
+
channel_credentials,
|
481
|
+
insecure,
|
482
|
+
call_credentials,
|
483
|
+
compression,
|
484
|
+
wait_for_ready,
|
485
|
+
timeout,
|
486
|
+
metadata,
|
487
|
+
_registered_method=True)
|
377
488
|
|
378
489
|
@staticmethod
|
379
490
|
def GetRunStatus(request,
|
@@ -386,11 +497,21 @@ class ServerAppIo(object):
|
|
386
497
|
wait_for_ready=None,
|
387
498
|
timeout=None,
|
388
499
|
metadata=None):
|
389
|
-
return grpc.experimental.unary_unary(
|
500
|
+
return grpc.experimental.unary_unary(
|
501
|
+
request,
|
502
|
+
target,
|
503
|
+
'/flwr.proto.ServerAppIo/GetRunStatus',
|
390
504
|
flwr_dot_proto_dot_run__pb2.GetRunStatusRequest.SerializeToString,
|
391
505
|
flwr_dot_proto_dot_run__pb2.GetRunStatusResponse.FromString,
|
392
|
-
options,
|
393
|
-
|
506
|
+
options,
|
507
|
+
channel_credentials,
|
508
|
+
insecure,
|
509
|
+
call_credentials,
|
510
|
+
compression,
|
511
|
+
wait_for_ready,
|
512
|
+
timeout,
|
513
|
+
metadata,
|
514
|
+
_registered_method=True)
|
394
515
|
|
395
516
|
@staticmethod
|
396
517
|
def PushLogs(request,
|
@@ -403,8 +524,18 @@ class ServerAppIo(object):
|
|
403
524
|
wait_for_ready=None,
|
404
525
|
timeout=None,
|
405
526
|
metadata=None):
|
406
|
-
return grpc.experimental.unary_unary(
|
527
|
+
return grpc.experimental.unary_unary(
|
528
|
+
request,
|
529
|
+
target,
|
530
|
+
'/flwr.proto.ServerAppIo/PushLogs',
|
407
531
|
flwr_dot_proto_dot_log__pb2.PushLogsRequest.SerializeToString,
|
408
532
|
flwr_dot_proto_dot_log__pb2.PushLogsResponse.FromString,
|
409
|
-
options,
|
410
|
-
|
533
|
+
options,
|
534
|
+
channel_credentials,
|
535
|
+
insecure,
|
536
|
+
call_credentials,
|
537
|
+
compression,
|
538
|
+
wait_for_ready,
|
539
|
+
timeout,
|
540
|
+
metadata,
|
541
|
+
_registered_method=True)
|
flwr/proto/simulationio_pb2.py
CHANGED
@@ -1,12 +1,22 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
3
4
|
# source: flwr/proto/simulationio.proto
|
4
|
-
# Protobuf Python Version:
|
5
|
+
# Protobuf Python Version: 5.29.0
|
5
6
|
"""Generated protocol buffer code."""
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
9
11
|
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
29,
|
16
|
+
0,
|
17
|
+
'',
|
18
|
+
'flwr/proto/simulationio.proto'
|
19
|
+
)
|
10
20
|
# @@protoc_insertion_point(imports)
|
11
21
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
@@ -23,8 +33,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x66lwr/proto/
|
|
23
33
|
_globals = globals()
|
24
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
25
35
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.simulationio_pb2', _globals)
|
26
|
-
if _descriptor._USE_C_DESCRIPTORS
|
27
|
-
DESCRIPTOR.
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
37
|
+
DESCRIPTOR._loaded_options = None
|
28
38
|
_globals['_PULLSIMULATIONINPUTSREQUEST']._serialized_start=137
|
29
39
|
_globals['_PULLSIMULATIONINPUTSREQUEST']._serialized_end=166
|
30
40
|
_globals['_PULLSIMULATIONINPUTSRESPONSE']._serialized_start=169
|