flwr-nightly 1.15.0.dev20250129__py3-none-any.whl → 1.15.2.dev20250214__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/auth_plugin/oidc_cli_plugin.py +2 -2
- flwr/cli/ls.py +3 -2
- flwr/cli/new/templates/app/README.baseline.md.tpl +4 -4
- flwr/cli/new/templates/app/README.md.tpl +3 -2
- flwr/cli/new/templates/app/pyproject.baseline.toml.tpl +4 -4
- flwr/cli/new/templates/app/pyproject.flowertune.toml.tpl +2 -2
- flwr/cli/new/templates/app/pyproject.huggingface.toml.tpl +4 -4
- flwr/cli/new/templates/app/pyproject.jax.toml.tpl +2 -2
- flwr/cli/new/templates/app/pyproject.mlx.toml.tpl +2 -2
- flwr/cli/new/templates/app/pyproject.numpy.toml.tpl +2 -2
- flwr/cli/new/templates/app/pyproject.pytorch.toml.tpl +2 -2
- flwr/cli/new/templates/app/pyproject.sklearn.toml.tpl +3 -3
- flwr/cli/new/templates/app/pyproject.tensorflow.toml.tpl +2 -2
- flwr/cli/stop.py +3 -2
- flwr/cli/utils.py +3 -3
- flwr/client/supernode/app.py +4 -28
- flwr/common/args.py +25 -47
- flwr/common/config.py +15 -2
- flwr/common/constant.py +9 -7
- flwr/common/exit_handlers.py +17 -29
- flwr/common/logger.py +10 -5
- flwr/common/object_ref.py +0 -14
- flwr/proto/clientappio_pb2.py +3 -13
- flwr/proto/clientappio_pb2_grpc.py +12 -63
- flwr/proto/error_pb2.py +3 -13
- flwr/proto/error_pb2_grpc.py +0 -20
- flwr/proto/exec_pb2.py +5 -15
- flwr/proto/exec_pb2_grpc.py +24 -105
- flwr/proto/fab_pb2.py +3 -13
- flwr/proto/fab_pb2_grpc.py +0 -20
- flwr/proto/fleet_pb2.py +4 -14
- flwr/proto/fleet_pb2_grpc.py +28 -119
- flwr/proto/grpcadapter_pb2.py +4 -14
- flwr/proto/grpcadapter_pb2_grpc.py +4 -35
- flwr/proto/log_pb2.py +3 -13
- flwr/proto/log_pb2_grpc.py +0 -20
- flwr/proto/message_pb2.py +5 -15
- flwr/proto/message_pb2_grpc.py +0 -20
- flwr/proto/node_pb2.py +3 -13
- flwr/proto/node_pb2_grpc.py +0 -20
- flwr/proto/recordset_pb2.py +8 -18
- flwr/proto/recordset_pb2_grpc.py +0 -20
- flwr/proto/run_pb2.py +6 -16
- flwr/proto/run_pb2_grpc.py +0 -20
- flwr/proto/serverappio_pb2.py +26 -45
- flwr/proto/serverappio_pb2.pyi +0 -62
- flwr/proto/serverappio_pb2_grpc.py +47 -264
- flwr/proto/serverappio_pb2_grpc.pyi +7 -27
- flwr/proto/simulationio_pb2.py +3 -13
- flwr/proto/simulationio_pb2_grpc.py +24 -105
- flwr/proto/task_pb2.py +9 -19
- flwr/proto/task_pb2.pyi +1 -4
- flwr/proto/task_pb2_grpc.py +0 -20
- flwr/proto/transport_pb2.py +10 -20
- flwr/proto/transport_pb2_grpc.py +4 -35
- flwr/server/app.py +5 -9
- flwr/server/driver/inmemory_driver.py +0 -1
- flwr/server/superlink/driver/serverappio_servicer.py +1 -99
- flwr/server/superlink/fleet/grpc_rere/server_interceptor.py +17 -4
- flwr/server/superlink/fleet/message_handler/message_handler.py +0 -4
- flwr/server/superlink/fleet/vce/vce_api.py +0 -1
- flwr/server/superlink/linkstate/sqlite_linkstate.py +0 -6
- flwr/server/utils/validator.py +0 -3
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.15.2.dev20250214.dist-info}/METADATA +4 -4
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.15.2.dev20250214.dist-info}/RECORD +68 -68
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.15.2.dev20250214.dist-info}/LICENSE +0 -0
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.15.2.dev20250214.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.15.2.dev20250214.dist-info}/entry_points.txt +0 -0
flwr/proto/fleet_pb2_grpc.py
CHANGED
@@ -1,31 +1,11 @@
|
|
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
|
5
4
|
|
6
5
|
from flwr.proto import fab_pb2 as flwr_dot_proto_dot_fab__pb2
|
7
6
|
from flwr.proto import fleet_pb2 as flwr_dot_proto_dot_fleet__pb2
|
8
7
|
from flwr.proto import run_pb2 as flwr_dot_proto_dot_run__pb2
|
9
8
|
|
10
|
-
GRPC_GENERATED_VERSION = '1.69.0'
|
11
|
-
GRPC_VERSION = grpc.__version__
|
12
|
-
_version_not_supported = False
|
13
|
-
|
14
|
-
try:
|
15
|
-
from grpc._utilities import first_version_is_lower
|
16
|
-
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
17
|
-
except ImportError:
|
18
|
-
_version_not_supported = True
|
19
|
-
|
20
|
-
if _version_not_supported:
|
21
|
-
raise RuntimeError(
|
22
|
-
f'The grpc package installed is at version {GRPC_VERSION},'
|
23
|
-
+ f' but the generated code in flwr/proto/fleet_pb2_grpc.py depends on'
|
24
|
-
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
25
|
-
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
26
|
-
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
27
|
-
)
|
28
|
-
|
29
9
|
|
30
10
|
class FleetStub(object):
|
31
11
|
"""Missing associated documentation comment in .proto file."""
|
@@ -40,37 +20,37 @@ class FleetStub(object):
|
|
40
20
|
'/flwr.proto.Fleet/CreateNode',
|
41
21
|
request_serializer=flwr_dot_proto_dot_fleet__pb2.CreateNodeRequest.SerializeToString,
|
42
22
|
response_deserializer=flwr_dot_proto_dot_fleet__pb2.CreateNodeResponse.FromString,
|
43
|
-
|
23
|
+
)
|
44
24
|
self.DeleteNode = channel.unary_unary(
|
45
25
|
'/flwr.proto.Fleet/DeleteNode',
|
46
26
|
request_serializer=flwr_dot_proto_dot_fleet__pb2.DeleteNodeRequest.SerializeToString,
|
47
27
|
response_deserializer=flwr_dot_proto_dot_fleet__pb2.DeleteNodeResponse.FromString,
|
48
|
-
|
28
|
+
)
|
49
29
|
self.Ping = channel.unary_unary(
|
50
30
|
'/flwr.proto.Fleet/Ping',
|
51
31
|
request_serializer=flwr_dot_proto_dot_fleet__pb2.PingRequest.SerializeToString,
|
52
32
|
response_deserializer=flwr_dot_proto_dot_fleet__pb2.PingResponse.FromString,
|
53
|
-
|
33
|
+
)
|
54
34
|
self.PullMessages = channel.unary_unary(
|
55
35
|
'/flwr.proto.Fleet/PullMessages',
|
56
36
|
request_serializer=flwr_dot_proto_dot_fleet__pb2.PullMessagesRequest.SerializeToString,
|
57
37
|
response_deserializer=flwr_dot_proto_dot_fleet__pb2.PullMessagesResponse.FromString,
|
58
|
-
|
38
|
+
)
|
59
39
|
self.PushMessages = channel.unary_unary(
|
60
40
|
'/flwr.proto.Fleet/PushMessages',
|
61
41
|
request_serializer=flwr_dot_proto_dot_fleet__pb2.PushMessagesRequest.SerializeToString,
|
62
42
|
response_deserializer=flwr_dot_proto_dot_fleet__pb2.PushMessagesResponse.FromString,
|
63
|
-
|
43
|
+
)
|
64
44
|
self.GetRun = channel.unary_unary(
|
65
45
|
'/flwr.proto.Fleet/GetRun',
|
66
46
|
request_serializer=flwr_dot_proto_dot_run__pb2.GetRunRequest.SerializeToString,
|
67
47
|
response_deserializer=flwr_dot_proto_dot_run__pb2.GetRunResponse.FromString,
|
68
|
-
|
48
|
+
)
|
69
49
|
self.GetFab = channel.unary_unary(
|
70
50
|
'/flwr.proto.Fleet/GetFab',
|
71
51
|
request_serializer=flwr_dot_proto_dot_fab__pb2.GetFabRequest.SerializeToString,
|
72
52
|
response_deserializer=flwr_dot_proto_dot_fab__pb2.GetFabResponse.FromString,
|
73
|
-
|
53
|
+
)
|
74
54
|
|
75
55
|
|
76
56
|
class FleetServicer(object):
|
@@ -167,7 +147,6 @@ def add_FleetServicer_to_server(servicer, server):
|
|
167
147
|
generic_handler = grpc.method_handlers_generic_handler(
|
168
148
|
'flwr.proto.Fleet', rpc_method_handlers)
|
169
149
|
server.add_generic_rpc_handlers((generic_handler,))
|
170
|
-
server.add_registered_method_handlers('flwr.proto.Fleet', rpc_method_handlers)
|
171
150
|
|
172
151
|
|
173
152
|
# This class is part of an EXPERIMENTAL API.
|
@@ -185,21 +164,11 @@ class Fleet(object):
|
|
185
164
|
wait_for_ready=None,
|
186
165
|
timeout=None,
|
187
166
|
metadata=None):
|
188
|
-
return grpc.experimental.unary_unary(
|
189
|
-
request,
|
190
|
-
target,
|
191
|
-
'/flwr.proto.Fleet/CreateNode',
|
167
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Fleet/CreateNode',
|
192
168
|
flwr_dot_proto_dot_fleet__pb2.CreateNodeRequest.SerializeToString,
|
193
169
|
flwr_dot_proto_dot_fleet__pb2.CreateNodeResponse.FromString,
|
194
|
-
options,
|
195
|
-
|
196
|
-
insecure,
|
197
|
-
call_credentials,
|
198
|
-
compression,
|
199
|
-
wait_for_ready,
|
200
|
-
timeout,
|
201
|
-
metadata,
|
202
|
-
_registered_method=True)
|
170
|
+
options, channel_credentials,
|
171
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
203
172
|
|
204
173
|
@staticmethod
|
205
174
|
def DeleteNode(request,
|
@@ -212,21 +181,11 @@ class Fleet(object):
|
|
212
181
|
wait_for_ready=None,
|
213
182
|
timeout=None,
|
214
183
|
metadata=None):
|
215
|
-
return grpc.experimental.unary_unary(
|
216
|
-
request,
|
217
|
-
target,
|
218
|
-
'/flwr.proto.Fleet/DeleteNode',
|
184
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Fleet/DeleteNode',
|
219
185
|
flwr_dot_proto_dot_fleet__pb2.DeleteNodeRequest.SerializeToString,
|
220
186
|
flwr_dot_proto_dot_fleet__pb2.DeleteNodeResponse.FromString,
|
221
|
-
options,
|
222
|
-
|
223
|
-
insecure,
|
224
|
-
call_credentials,
|
225
|
-
compression,
|
226
|
-
wait_for_ready,
|
227
|
-
timeout,
|
228
|
-
metadata,
|
229
|
-
_registered_method=True)
|
187
|
+
options, channel_credentials,
|
188
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
230
189
|
|
231
190
|
@staticmethod
|
232
191
|
def Ping(request,
|
@@ -239,21 +198,11 @@ class Fleet(object):
|
|
239
198
|
wait_for_ready=None,
|
240
199
|
timeout=None,
|
241
200
|
metadata=None):
|
242
|
-
return grpc.experimental.unary_unary(
|
243
|
-
request,
|
244
|
-
target,
|
245
|
-
'/flwr.proto.Fleet/Ping',
|
201
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Fleet/Ping',
|
246
202
|
flwr_dot_proto_dot_fleet__pb2.PingRequest.SerializeToString,
|
247
203
|
flwr_dot_proto_dot_fleet__pb2.PingResponse.FromString,
|
248
|
-
options,
|
249
|
-
|
250
|
-
insecure,
|
251
|
-
call_credentials,
|
252
|
-
compression,
|
253
|
-
wait_for_ready,
|
254
|
-
timeout,
|
255
|
-
metadata,
|
256
|
-
_registered_method=True)
|
204
|
+
options, channel_credentials,
|
205
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
257
206
|
|
258
207
|
@staticmethod
|
259
208
|
def PullMessages(request,
|
@@ -266,21 +215,11 @@ class Fleet(object):
|
|
266
215
|
wait_for_ready=None,
|
267
216
|
timeout=None,
|
268
217
|
metadata=None):
|
269
|
-
return grpc.experimental.unary_unary(
|
270
|
-
request,
|
271
|
-
target,
|
272
|
-
'/flwr.proto.Fleet/PullMessages',
|
218
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Fleet/PullMessages',
|
273
219
|
flwr_dot_proto_dot_fleet__pb2.PullMessagesRequest.SerializeToString,
|
274
220
|
flwr_dot_proto_dot_fleet__pb2.PullMessagesResponse.FromString,
|
275
|
-
options,
|
276
|
-
|
277
|
-
insecure,
|
278
|
-
call_credentials,
|
279
|
-
compression,
|
280
|
-
wait_for_ready,
|
281
|
-
timeout,
|
282
|
-
metadata,
|
283
|
-
_registered_method=True)
|
221
|
+
options, channel_credentials,
|
222
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
284
223
|
|
285
224
|
@staticmethod
|
286
225
|
def PushMessages(request,
|
@@ -293,21 +232,11 @@ class Fleet(object):
|
|
293
232
|
wait_for_ready=None,
|
294
233
|
timeout=None,
|
295
234
|
metadata=None):
|
296
|
-
return grpc.experimental.unary_unary(
|
297
|
-
request,
|
298
|
-
target,
|
299
|
-
'/flwr.proto.Fleet/PushMessages',
|
235
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Fleet/PushMessages',
|
300
236
|
flwr_dot_proto_dot_fleet__pb2.PushMessagesRequest.SerializeToString,
|
301
237
|
flwr_dot_proto_dot_fleet__pb2.PushMessagesResponse.FromString,
|
302
|
-
options,
|
303
|
-
|
304
|
-
insecure,
|
305
|
-
call_credentials,
|
306
|
-
compression,
|
307
|
-
wait_for_ready,
|
308
|
-
timeout,
|
309
|
-
metadata,
|
310
|
-
_registered_method=True)
|
238
|
+
options, channel_credentials,
|
239
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
311
240
|
|
312
241
|
@staticmethod
|
313
242
|
def GetRun(request,
|
@@ -320,21 +249,11 @@ class Fleet(object):
|
|
320
249
|
wait_for_ready=None,
|
321
250
|
timeout=None,
|
322
251
|
metadata=None):
|
323
|
-
return grpc.experimental.unary_unary(
|
324
|
-
request,
|
325
|
-
target,
|
326
|
-
'/flwr.proto.Fleet/GetRun',
|
252
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Fleet/GetRun',
|
327
253
|
flwr_dot_proto_dot_run__pb2.GetRunRequest.SerializeToString,
|
328
254
|
flwr_dot_proto_dot_run__pb2.GetRunResponse.FromString,
|
329
|
-
options,
|
330
|
-
|
331
|
-
insecure,
|
332
|
-
call_credentials,
|
333
|
-
compression,
|
334
|
-
wait_for_ready,
|
335
|
-
timeout,
|
336
|
-
metadata,
|
337
|
-
_registered_method=True)
|
255
|
+
options, channel_credentials,
|
256
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
338
257
|
|
339
258
|
@staticmethod
|
340
259
|
def GetFab(request,
|
@@ -347,18 +266,8 @@ class Fleet(object):
|
|
347
266
|
wait_for_ready=None,
|
348
267
|
timeout=None,
|
349
268
|
metadata=None):
|
350
|
-
return grpc.experimental.unary_unary(
|
351
|
-
request,
|
352
|
-
target,
|
353
|
-
'/flwr.proto.Fleet/GetFab',
|
269
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Fleet/GetFab',
|
354
270
|
flwr_dot_proto_dot_fab__pb2.GetFabRequest.SerializeToString,
|
355
271
|
flwr_dot_proto_dot_fab__pb2.GetFabResponse.FromString,
|
356
|
-
options,
|
357
|
-
|
358
|
-
insecure,
|
359
|
-
call_credentials,
|
360
|
-
compression,
|
361
|
-
wait_for_ready,
|
362
|
-
timeout,
|
363
|
-
metadata,
|
364
|
-
_registered_method=True)
|
272
|
+
options, channel_credentials,
|
273
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
flwr/proto/grpcadapter_pb2.py
CHANGED
@@ -1,22 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
4
3
|
# source: flwr/proto/grpcadapter.proto
|
5
|
-
# Protobuf Python Version:
|
4
|
+
# Protobuf Python Version: 4.25.1
|
6
5
|
"""Generated protocol buffer code."""
|
7
6
|
from google.protobuf import descriptor as _descriptor
|
8
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
10
8
|
from google.protobuf import symbol_database as _symbol_database
|
11
9
|
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/grpcadapter.proto'
|
19
|
-
)
|
20
10
|
# @@protoc_insertion_point(imports)
|
21
11
|
|
22
12
|
_sym_db = _symbol_database.Default()
|
@@ -29,9 +19,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/
|
|
29
19
|
_globals = globals()
|
30
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.grpcadapter_pb2', _globals)
|
32
|
-
if
|
33
|
-
DESCRIPTOR.
|
34
|
-
_globals['_MESSAGECONTAINER_METADATAENTRY'].
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
+
DESCRIPTOR._options = None
|
24
|
+
_globals['_MESSAGECONTAINER_METADATAENTRY']._options = None
|
35
25
|
_globals['_MESSAGECONTAINER_METADATAENTRY']._serialized_options = b'8\001'
|
36
26
|
_globals['_MESSAGECONTAINER']._serialized_start=45
|
37
27
|
_globals['_MESSAGECONTAINER']._serialized_end=231
|
@@ -1,29 +1,9 @@
|
|
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
|
5
4
|
|
6
5
|
from flwr.proto import grpcadapter_pb2 as flwr_dot_proto_dot_grpcadapter__pb2
|
7
6
|
|
8
|
-
GRPC_GENERATED_VERSION = '1.69.0'
|
9
|
-
GRPC_VERSION = grpc.__version__
|
10
|
-
_version_not_supported = False
|
11
|
-
|
12
|
-
try:
|
13
|
-
from grpc._utilities import first_version_is_lower
|
14
|
-
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
15
|
-
except ImportError:
|
16
|
-
_version_not_supported = True
|
17
|
-
|
18
|
-
if _version_not_supported:
|
19
|
-
raise RuntimeError(
|
20
|
-
f'The grpc package installed is at version {GRPC_VERSION},'
|
21
|
-
+ f' but the generated code in flwr/proto/grpcadapter_pb2_grpc.py depends on'
|
22
|
-
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
23
|
-
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
24
|
-
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
25
|
-
)
|
26
|
-
|
27
7
|
|
28
8
|
class GrpcAdapterStub(object):
|
29
9
|
"""Missing associated documentation comment in .proto file."""
|
@@ -38,7 +18,7 @@ class GrpcAdapterStub(object):
|
|
38
18
|
'/flwr.proto.GrpcAdapter/SendReceive',
|
39
19
|
request_serializer=flwr_dot_proto_dot_grpcadapter__pb2.MessageContainer.SerializeToString,
|
40
20
|
response_deserializer=flwr_dot_proto_dot_grpcadapter__pb2.MessageContainer.FromString,
|
41
|
-
|
21
|
+
)
|
42
22
|
|
43
23
|
|
44
24
|
class GrpcAdapterServicer(object):
|
@@ -62,7 +42,6 @@ def add_GrpcAdapterServicer_to_server(servicer, server):
|
|
62
42
|
generic_handler = grpc.method_handlers_generic_handler(
|
63
43
|
'flwr.proto.GrpcAdapter', rpc_method_handlers)
|
64
44
|
server.add_generic_rpc_handlers((generic_handler,))
|
65
|
-
server.add_registered_method_handlers('flwr.proto.GrpcAdapter', rpc_method_handlers)
|
66
45
|
|
67
46
|
|
68
47
|
# This class is part of an EXPERIMENTAL API.
|
@@ -80,18 +59,8 @@ class GrpcAdapter(object):
|
|
80
59
|
wait_for_ready=None,
|
81
60
|
timeout=None,
|
82
61
|
metadata=None):
|
83
|
-
return grpc.experimental.unary_unary(
|
84
|
-
request,
|
85
|
-
target,
|
86
|
-
'/flwr.proto.GrpcAdapter/SendReceive',
|
62
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.GrpcAdapter/SendReceive',
|
87
63
|
flwr_dot_proto_dot_grpcadapter__pb2.MessageContainer.SerializeToString,
|
88
64
|
flwr_dot_proto_dot_grpcadapter__pb2.MessageContainer.FromString,
|
89
|
-
options,
|
90
|
-
|
91
|
-
insecure,
|
92
|
-
call_credentials,
|
93
|
-
compression,
|
94
|
-
wait_for_ready,
|
95
|
-
timeout,
|
96
|
-
metadata,
|
97
|
-
_registered_method=True)
|
65
|
+
options, channel_credentials,
|
66
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
flwr/proto/log_pb2.py
CHANGED
@@ -1,22 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
4
3
|
# source: flwr/proto/log.proto
|
5
|
-
# Protobuf Python Version:
|
4
|
+
# Protobuf Python Version: 4.25.1
|
6
5
|
"""Generated protocol buffer code."""
|
7
6
|
from google.protobuf import descriptor as _descriptor
|
8
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
10
8
|
from google.protobuf import symbol_database as _symbol_database
|
11
9
|
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/log.proto'
|
19
|
-
)
|
20
10
|
# @@protoc_insertion_point(imports)
|
21
11
|
|
22
12
|
_sym_db = _symbol_database.Default()
|
@@ -30,8 +20,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x66lwr/proto/
|
|
30
20
|
_globals = globals()
|
31
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
32
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.log_pb2', _globals)
|
33
|
-
if
|
34
|
-
DESCRIPTOR.
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
24
|
+
DESCRIPTOR._options = None
|
35
25
|
_globals['_PUSHLOGSREQUEST']._serialized_start=59
|
36
26
|
_globals['_PUSHLOGSREQUEST']._serialized_end=138
|
37
27
|
_globals['_PUSHLOGSRESPONSE']._serialized_start=140
|
flwr/proto/log_pb2_grpc.py
CHANGED
@@ -1,24 +1,4 @@
|
|
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
|
5
4
|
|
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/log_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/message_pb2.py
CHANGED
@@ -1,22 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
4
3
|
# source: flwr/proto/message.proto
|
5
|
-
# Protobuf Python Version:
|
4
|
+
# Protobuf Python Version: 4.25.1
|
6
5
|
"""Generated protocol buffer code."""
|
7
6
|
from google.protobuf import descriptor as _descriptor
|
8
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
10
8
|
from google.protobuf import symbol_database as _symbol_database
|
11
9
|
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/message.proto'
|
19
|
-
)
|
20
10
|
# @@protoc_insertion_point(imports)
|
21
11
|
|
22
12
|
_sym_db = _symbol_database.Default()
|
@@ -32,11 +22,11 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x66lwr/proto/
|
|
32
22
|
_globals = globals()
|
33
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
34
24
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.message_pb2', _globals)
|
35
|
-
if
|
36
|
-
DESCRIPTOR.
|
37
|
-
_globals['_CONTEXT_NODECONFIGENTRY'].
|
25
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
26
|
+
DESCRIPTOR._options = None
|
27
|
+
_globals['_CONTEXT_NODECONFIGENTRY']._options = None
|
38
28
|
_globals['_CONTEXT_NODECONFIGENTRY']._serialized_options = b'8\001'
|
39
|
-
_globals['_CONTEXT_RUNCONFIGENTRY'].
|
29
|
+
_globals['_CONTEXT_RUNCONFIGENTRY']._options = None
|
40
30
|
_globals['_CONTEXT_RUNCONFIGENTRY']._serialized_options = b'8\001'
|
41
31
|
_globals['_MESSAGE']._serialized_start=120
|
42
32
|
_globals['_MESSAGE']._serialized_end=243
|
flwr/proto/message_pb2_grpc.py
CHANGED
@@ -1,24 +1,4 @@
|
|
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
|
5
4
|
|
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/message_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/node_pb2.py
CHANGED
@@ -1,22 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
4
3
|
# source: flwr/proto/node.proto
|
5
|
-
# Protobuf Python Version:
|
4
|
+
# Protobuf Python Version: 4.25.1
|
6
5
|
"""Generated protocol buffer code."""
|
7
6
|
from google.protobuf import descriptor as _descriptor
|
8
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
10
8
|
from google.protobuf import symbol_database as _symbol_database
|
11
9
|
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/node.proto'
|
19
|
-
)
|
20
10
|
# @@protoc_insertion_point(imports)
|
21
11
|
|
22
12
|
_sym_db = _symbol_database.Default()
|
@@ -29,8 +19,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x66lwr/proto/
|
|
29
19
|
_globals = globals()
|
30
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.node_pb2', _globals)
|
32
|
-
if
|
33
|
-
DESCRIPTOR.
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
+
DESCRIPTOR._options = None
|
34
24
|
_globals['_NODE']._serialized_start=37
|
35
25
|
_globals['_NODE']._serialized_end=60
|
36
26
|
# @@protoc_insertion_point(module_scope)
|
flwr/proto/node_pb2_grpc.py
CHANGED
@@ -1,24 +1,4 @@
|
|
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
|
5
4
|
|
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/node_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/recordset_pb2.py
CHANGED
@@ -1,22 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
4
3
|
# source: flwr/proto/recordset.proto
|
5
|
-
# Protobuf Python Version:
|
4
|
+
# Protobuf Python Version: 4.25.1
|
6
5
|
"""Generated protocol buffer code."""
|
7
6
|
from google.protobuf import descriptor as _descriptor
|
8
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
10
8
|
from google.protobuf import symbol_database as _symbol_database
|
11
9
|
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/recordset.proto'
|
19
|
-
)
|
20
10
|
# @@protoc_insertion_point(imports)
|
21
11
|
|
22
12
|
_sym_db = _symbol_database.Default()
|
@@ -29,17 +19,17 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x66lwr/proto/
|
|
29
19
|
_globals = globals()
|
30
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.recordset_pb2', _globals)
|
32
|
-
if
|
33
|
-
DESCRIPTOR.
|
34
|
-
_globals['_METRICSRECORD_DATAENTRY'].
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
+
DESCRIPTOR._options = None
|
24
|
+
_globals['_METRICSRECORD_DATAENTRY']._options = None
|
35
25
|
_globals['_METRICSRECORD_DATAENTRY']._serialized_options = b'8\001'
|
36
|
-
_globals['_CONFIGSRECORD_DATAENTRY'].
|
26
|
+
_globals['_CONFIGSRECORD_DATAENTRY']._options = None
|
37
27
|
_globals['_CONFIGSRECORD_DATAENTRY']._serialized_options = b'8\001'
|
38
|
-
_globals['_RECORDSET_PARAMETERSENTRY'].
|
28
|
+
_globals['_RECORDSET_PARAMETERSENTRY']._options = None
|
39
29
|
_globals['_RECORDSET_PARAMETERSENTRY']._serialized_options = b'8\001'
|
40
|
-
_globals['_RECORDSET_METRICSENTRY'].
|
30
|
+
_globals['_RECORDSET_METRICSENTRY']._options = None
|
41
31
|
_globals['_RECORDSET_METRICSENTRY']._serialized_options = b'8\001'
|
42
|
-
_globals['_RECORDSET_CONFIGSENTRY'].
|
32
|
+
_globals['_RECORDSET_CONFIGSENTRY']._options = None
|
43
33
|
_globals['_RECORDSET_CONFIGSENTRY']._serialized_options = b'8\001'
|
44
34
|
_globals['_DOUBLELIST']._serialized_start=42
|
45
35
|
_globals['_DOUBLELIST']._serialized_end=68
|
flwr/proto/recordset_pb2_grpc.py
CHANGED
@@ -1,24 +1,4 @@
|
|
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
|
5
4
|
|
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,22 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
4
3
|
# source: flwr/proto/run.proto
|
5
|
-
# Protobuf Python Version:
|
4
|
+
# Protobuf Python Version: 4.25.1
|
6
5
|
"""Generated protocol buffer code."""
|
7
6
|
from google.protobuf import descriptor as _descriptor
|
8
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
10
8
|
from google.protobuf import symbol_database as _symbol_database
|
11
9
|
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
|
-
)
|
20
10
|
# @@protoc_insertion_point(imports)
|
21
11
|
|
22
12
|
_sym_db = _symbol_database.Default()
|
@@ -33,13 +23,13 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x66lwr/proto/
|
|
33
23
|
_globals = globals()
|
34
24
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
35
25
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.run_pb2', _globals)
|
36
|
-
if
|
37
|
-
DESCRIPTOR.
|
38
|
-
_globals['_RUN_OVERRIDECONFIGENTRY'].
|
26
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
27
|
+
DESCRIPTOR._options = None
|
28
|
+
_globals['_RUN_OVERRIDECONFIGENTRY']._options = None
|
39
29
|
_globals['_RUN_OVERRIDECONFIGENTRY']._serialized_options = b'8\001'
|
40
|
-
_globals['_CREATERUNREQUEST_OVERRIDECONFIGENTRY'].
|
30
|
+
_globals['_CREATERUNREQUEST_OVERRIDECONFIGENTRY']._options = None
|
41
31
|
_globals['_CREATERUNREQUEST_OVERRIDECONFIGENTRY']._serialized_options = b'8\001'
|
42
|
-
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY'].
|
32
|
+
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._options = None
|
43
33
|
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_options = b'8\001'
|
44
34
|
_globals['_RUN']._serialized_start=138
|
45
35
|
_globals['_RUN']._serialized_end=472
|