flwr-nightly 1.15.0.dev20250129__py3-none-any.whl → 1.16.0.dev20250131__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/ls.py +3 -2
- 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 +1 -1
- flwr/client/supernode/app.py +4 -28
- flwr/common/args.py +25 -47
- flwr/common/config.py +15 -2
- flwr/common/logger.py +10 -5
- 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 +3 -13
- 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 +3 -7
- flwr/server/superlink/driver/serverappio_servicer.py +0 -94
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.16.0.dev20250131.dist-info}/METADATA +3 -3
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.16.0.dev20250131.dist-info}/RECORD +56 -56
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.16.0.dev20250131.dist-info}/LICENSE +0 -0
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.16.0.dev20250131.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.15.0.dev20250129.dist-info → flwr_nightly-1.16.0.dev20250131.dist-info}/entry_points.txt +0 -0
@@ -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
|
flwr/proto/run_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/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,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/serverappio.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/serverappio.proto'
|
19
|
-
)
|
20
10
|
# @@protoc_insertion_point(imports)
|
21
11
|
|
22
12
|
_sym_db = _symbol_database.Default()
|
@@ -25,46 +15,37 @@ _sym_db = _symbol_database.Default()
|
|
25
15
|
from flwr.proto import log_pb2 as flwr_dot_proto_dot_log__pb2
|
26
16
|
from flwr.proto import node_pb2 as flwr_dot_proto_dot_node__pb2
|
27
17
|
from flwr.proto import message_pb2 as flwr_dot_proto_dot_message__pb2
|
28
|
-
from flwr.proto import task_pb2 as flwr_dot_proto_dot_task__pb2
|
29
18
|
from flwr.proto import run_pb2 as flwr_dot_proto_dot_run__pb2
|
30
19
|
from flwr.proto import fab_pb2 as flwr_dot_proto_dot_fab__pb2
|
31
20
|
|
32
21
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/serverappio.proto\x12\nflwr.proto\x1a\x14\x66lwr/proto/log.proto\x1a\x15\x66lwr/proto/node.proto\x1a\x18\x66lwr/proto/message.proto\x1a\
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/serverappio.proto\x12\nflwr.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\"!\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.Node\"T\n\x16PushInsMessagesRequest\x12*\n\rmessages_list\x18\x01 \x03(\x0b\x32\x13.flwr.proto.Message\x12\x0e\n\x06run_id\x18\x02 \x01(\x04\".\n\x17PushInsMessagesResponse\x12\x13\n\x0bmessage_ids\x18\x01 \x03(\t\"=\n\x16PullResMessagesRequest\x12\x13\n\x0bmessage_ids\x18\x01 \x03(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\x04\"E\n\x17PullResMessagesResponse\x12*\n\rmessages_list\x18\x01 \x03(\x0b\x32\x13.flwr.proto.Message\"\x1c\n\x1aPullServerAppInputsRequest\"\x7f\n\x1bPullServerAppInputsResponse\x12$\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\x13.flwr.proto.Context\x12\x1c\n\x03run\x18\x02 \x01(\x0b\x32\x0f.flwr.proto.Run\x12\x1c\n\x03\x66\x61\x62\x18\x03 \x01(\x0b\x32\x0f.flwr.proto.Fab\"S\n\x1bPushServerAppOutputsRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\x12$\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x13.flwr.proto.Context\"\x1e\n\x1cPushServerAppOutputsResponse2\xb1\x07\n\x0bServerAppIo\x12J\n\tCreateRun\x12\x1c.flwr.proto.CreateRunRequest\x1a\x1d.flwr.proto.CreateRunResponse\"\x00\x12G\n\x08GetNodes\x12\x1b.flwr.proto.GetNodesRequest\x1a\x1c.flwr.proto.GetNodesResponse\"\x00\x12Y\n\x0cPushMessages\x12\".flwr.proto.PushInsMessagesRequest\x1a#.flwr.proto.PushInsMessagesResponse\"\x00\x12Y\n\x0cPullMessages\x12\".flwr.proto.PullResMessagesRequest\x1a#.flwr.proto.PullResMessagesResponse\"\x00\x12\x41\n\x06GetRun\x12\x19.flwr.proto.GetRunRequest\x1a\x1a.flwr.proto.GetRunResponse\"\x00\x12\x41\n\x06GetFab\x12\x19.flwr.proto.GetFabRequest\x1a\x1a.flwr.proto.GetFabResponse\"\x00\x12h\n\x13PullServerAppInputs\x12&.flwr.proto.PullServerAppInputsRequest\x1a\'.flwr.proto.PullServerAppInputsResponse\"\x00\x12k\n\x14PushServerAppOutputs\x12\'.flwr.proto.PushServerAppOutputsRequest\x1a(.flwr.proto.PushServerAppOutputsResponse\"\x00\x12\\\n\x0fUpdateRunStatus\x12\".flwr.proto.UpdateRunStatusRequest\x1a#.flwr.proto.UpdateRunStatusResponse\"\x00\x12S\n\x0cGetRunStatus\x12\x1f.flwr.proto.GetRunStatusRequest\x1a .flwr.proto.GetRunStatusResponse\"\x00\x12G\n\x08PushLogs\x12\x1b.flwr.proto.PushLogsRequest\x1a\x1c.flwr.proto.PushLogsResponse\"\x00\x62\x06proto3')
|
34
23
|
|
35
24
|
_globals = globals()
|
36
25
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
37
26
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.serverappio_pb2', _globals)
|
38
|
-
if
|
39
|
-
DESCRIPTOR.
|
40
|
-
_globals['_GETNODESREQUEST']._serialized_start=
|
41
|
-
_globals['_GETNODESREQUEST']._serialized_end=
|
42
|
-
_globals['_GETNODESRESPONSE']._serialized_start=
|
43
|
-
_globals['_GETNODESRESPONSE']._serialized_end=
|
44
|
-
_globals['
|
45
|
-
_globals['
|
46
|
-
_globals['
|
47
|
-
_globals['
|
48
|
-
_globals['
|
49
|
-
_globals['
|
50
|
-
_globals['
|
51
|
-
_globals['
|
52
|
-
_globals['
|
53
|
-
_globals['
|
54
|
-
_globals['
|
55
|
-
_globals['
|
56
|
-
_globals['
|
57
|
-
_globals['
|
58
|
-
_globals['
|
59
|
-
_globals['
|
60
|
-
_globals['
|
61
|
-
_globals['
|
62
|
-
_globals['_PULLSERVERAPPINPUTSRESPONSE']._serialized_start=846
|
63
|
-
_globals['_PULLSERVERAPPINPUTSRESPONSE']._serialized_end=973
|
64
|
-
_globals['_PUSHSERVERAPPOUTPUTSREQUEST']._serialized_start=975
|
65
|
-
_globals['_PUSHSERVERAPPOUTPUTSREQUEST']._serialized_end=1058
|
66
|
-
_globals['_PUSHSERVERAPPOUTPUTSRESPONSE']._serialized_start=1060
|
67
|
-
_globals['_PUSHSERVERAPPOUTPUTSRESPONSE']._serialized_end=1090
|
68
|
-
_globals['_SERVERAPPIO']._serialized_start=1093
|
69
|
-
_globals['_SERVERAPPIO']._serialized_end=2202
|
27
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
28
|
+
DESCRIPTOR._options = None
|
29
|
+
_globals['_GETNODESREQUEST']._serialized_start=159
|
30
|
+
_globals['_GETNODESREQUEST']._serialized_end=192
|
31
|
+
_globals['_GETNODESRESPONSE']._serialized_start=194
|
32
|
+
_globals['_GETNODESRESPONSE']._serialized_end=245
|
33
|
+
_globals['_PUSHINSMESSAGESREQUEST']._serialized_start=247
|
34
|
+
_globals['_PUSHINSMESSAGESREQUEST']._serialized_end=331
|
35
|
+
_globals['_PUSHINSMESSAGESRESPONSE']._serialized_start=333
|
36
|
+
_globals['_PUSHINSMESSAGESRESPONSE']._serialized_end=379
|
37
|
+
_globals['_PULLRESMESSAGESREQUEST']._serialized_start=381
|
38
|
+
_globals['_PULLRESMESSAGESREQUEST']._serialized_end=442
|
39
|
+
_globals['_PULLRESMESSAGESRESPONSE']._serialized_start=444
|
40
|
+
_globals['_PULLRESMESSAGESRESPONSE']._serialized_end=513
|
41
|
+
_globals['_PULLSERVERAPPINPUTSREQUEST']._serialized_start=515
|
42
|
+
_globals['_PULLSERVERAPPINPUTSREQUEST']._serialized_end=543
|
43
|
+
_globals['_PULLSERVERAPPINPUTSRESPONSE']._serialized_start=545
|
44
|
+
_globals['_PULLSERVERAPPINPUTSRESPONSE']._serialized_end=672
|
45
|
+
_globals['_PUSHSERVERAPPOUTPUTSREQUEST']._serialized_start=674
|
46
|
+
_globals['_PUSHSERVERAPPOUTPUTSREQUEST']._serialized_end=757
|
47
|
+
_globals['_PUSHSERVERAPPOUTPUTSRESPONSE']._serialized_start=759
|
48
|
+
_globals['_PUSHSERVERAPPOUTPUTSRESPONSE']._serialized_end=789
|
49
|
+
_globals['_SERVERAPPIO']._serialized_start=792
|
50
|
+
_globals['_SERVERAPPIO']._serialized_end=1737
|
70
51
|
# @@protoc_insertion_point(module_scope)
|
flwr/proto/serverappio_pb2.pyi
CHANGED
@@ -7,7 +7,6 @@ import flwr.proto.fab_pb2
|
|
7
7
|
import flwr.proto.message_pb2
|
8
8
|
import flwr.proto.node_pb2
|
9
9
|
import flwr.proto.run_pb2
|
10
|
-
import flwr.proto.task_pb2
|
11
10
|
import google.protobuf.descriptor
|
12
11
|
import google.protobuf.internal.containers
|
13
12
|
import google.protobuf.message
|
@@ -40,67 +39,6 @@ class GetNodesResponse(google.protobuf.message.Message):
|
|
40
39
|
def ClearField(self, field_name: typing_extensions.Literal["nodes",b"nodes"]) -> None: ...
|
41
40
|
global___GetNodesResponse = GetNodesResponse
|
42
41
|
|
43
|
-
class PushTaskInsRequest(google.protobuf.message.Message):
|
44
|
-
"""PushTaskIns messages"""
|
45
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
46
|
-
TASK_INS_LIST_FIELD_NUMBER: builtins.int
|
47
|
-
RUN_ID_FIELD_NUMBER: builtins.int
|
48
|
-
@property
|
49
|
-
def task_ins_list(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[flwr.proto.task_pb2.TaskIns]: ...
|
50
|
-
run_id: builtins.int
|
51
|
-
def __init__(self,
|
52
|
-
*,
|
53
|
-
task_ins_list: typing.Optional[typing.Iterable[flwr.proto.task_pb2.TaskIns]] = ...,
|
54
|
-
run_id: builtins.int = ...,
|
55
|
-
) -> None: ...
|
56
|
-
def ClearField(self, field_name: typing_extensions.Literal["run_id",b"run_id","task_ins_list",b"task_ins_list"]) -> None: ...
|
57
|
-
global___PushTaskInsRequest = PushTaskInsRequest
|
58
|
-
|
59
|
-
class PushTaskInsResponse(google.protobuf.message.Message):
|
60
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
61
|
-
TASK_IDS_FIELD_NUMBER: builtins.int
|
62
|
-
@property
|
63
|
-
def task_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
64
|
-
def __init__(self,
|
65
|
-
*,
|
66
|
-
task_ids: typing.Optional[typing.Iterable[typing.Text]] = ...,
|
67
|
-
) -> None: ...
|
68
|
-
def ClearField(self, field_name: typing_extensions.Literal["task_ids",b"task_ids"]) -> None: ...
|
69
|
-
global___PushTaskInsResponse = PushTaskInsResponse
|
70
|
-
|
71
|
-
class PullTaskResRequest(google.protobuf.message.Message):
|
72
|
-
"""PullTaskRes messages"""
|
73
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
74
|
-
NODE_FIELD_NUMBER: builtins.int
|
75
|
-
TASK_IDS_FIELD_NUMBER: builtins.int
|
76
|
-
RUN_ID_FIELD_NUMBER: builtins.int
|
77
|
-
@property
|
78
|
-
def node(self) -> flwr.proto.node_pb2.Node: ...
|
79
|
-
@property
|
80
|
-
def task_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
81
|
-
run_id: builtins.int
|
82
|
-
def __init__(self,
|
83
|
-
*,
|
84
|
-
node: typing.Optional[flwr.proto.node_pb2.Node] = ...,
|
85
|
-
task_ids: typing.Optional[typing.Iterable[typing.Text]] = ...,
|
86
|
-
run_id: builtins.int = ...,
|
87
|
-
) -> None: ...
|
88
|
-
def HasField(self, field_name: typing_extensions.Literal["node",b"node"]) -> builtins.bool: ...
|
89
|
-
def ClearField(self, field_name: typing_extensions.Literal["node",b"node","run_id",b"run_id","task_ids",b"task_ids"]) -> None: ...
|
90
|
-
global___PullTaskResRequest = PullTaskResRequest
|
91
|
-
|
92
|
-
class PullTaskResResponse(google.protobuf.message.Message):
|
93
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
94
|
-
TASK_RES_LIST_FIELD_NUMBER: builtins.int
|
95
|
-
@property
|
96
|
-
def task_res_list(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[flwr.proto.task_pb2.TaskRes]: ...
|
97
|
-
def __init__(self,
|
98
|
-
*,
|
99
|
-
task_res_list: typing.Optional[typing.Iterable[flwr.proto.task_pb2.TaskRes]] = ...,
|
100
|
-
) -> None: ...
|
101
|
-
def ClearField(self, field_name: typing_extensions.Literal["task_res_list",b"task_res_list"]) -> None: ...
|
102
|
-
global___PullTaskResResponse = PullTaskResResponse
|
103
|
-
|
104
42
|
class PushInsMessagesRequest(google.protobuf.message.Message):
|
105
43
|
"""PushMessages messages"""
|
106
44
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|