flwr 1.25.0__py3-none-any.whl → 1.26.0__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/__init__.py +1 -1
- flwr/app/__init__.py +4 -1
- flwr/app/message_type.py +29 -0
- flwr/app/metadata.py +5 -2
- flwr/app/user_config.py +19 -0
- flwr/cli/app.py +37 -19
- flwr/cli/app_cmd/publish.py +25 -75
- flwr/cli/app_cmd/review.py +18 -69
- flwr/cli/auth_plugin/auth_plugin.py +5 -10
- flwr/cli/auth_plugin/noop_auth_plugin.py +1 -2
- flwr/cli/auth_plugin/oidc_cli_plugin.py +38 -38
- flwr/cli/build.py +15 -28
- flwr/cli/config/__init__.py +21 -0
- flwr/cli/config/ls.py +71 -0
- flwr/cli/config_migration.py +297 -0
- flwr/cli/config_utils.py +63 -156
- flwr/cli/constant.py +71 -0
- flwr/cli/federation/__init__.py +0 -2
- flwr/cli/federation/ls.py +256 -64
- flwr/cli/flower_config.py +429 -0
- flwr/cli/install.py +23 -62
- flwr/cli/log.py +23 -37
- flwr/cli/login/login.py +29 -63
- flwr/cli/ls.py +28 -58
- flwr/cli/new/new.py +9 -29
- flwr/cli/pull.py +19 -37
- flwr/cli/run/run.py +85 -93
- flwr/cli/run_utils.py +1 -1
- flwr/cli/stop.py +32 -73
- flwr/cli/supernode/ls.py +25 -57
- flwr/cli/supernode/register.py +31 -80
- flwr/cli/supernode/unregister.py +24 -70
- flwr/cli/typing.py +200 -0
- flwr/cli/utils.py +160 -275
- flwr/client/grpc_rere_client/connection.py +3 -3
- flwr/client/grpc_rere_client/grpc_adapter.py +1 -1
- flwr/client/message_handler/message_handler.py +2 -1
- flwr/client/mod/centraldp_mods.py +1 -1
- flwr/client/mod/localdp_mod.py +1 -1
- flwr/client/mod/secure_aggregation/secaggplus_mod.py +1 -1
- flwr/client/run_info_store.py +2 -1
- flwr/clientapp/client_app.py +2 -1
- flwr/common/__init__.py +3 -2
- flwr/common/args.py +5 -5
- flwr/common/config.py +12 -17
- flwr/common/constant.py +3 -16
- flwr/common/context.py +2 -1
- flwr/common/exit/exit.py +4 -4
- flwr/common/exit/exit_code.py +6 -0
- flwr/common/grpc.py +2 -1
- flwr/common/logger.py +1 -1
- flwr/common/message.py +1 -1
- flwr/common/retry_invoker.py +13 -5
- flwr/common/secure_aggregation/ndarrays_arithmetic.py +5 -2
- flwr/common/serde.py +7 -5
- flwr/common/telemetry.py +1 -1
- flwr/common/typing.py +4 -3
- flwr/compat/client/app.py +6 -9
- flwr/compat/client/grpc_client/connection.py +2 -1
- flwr/compat/common/constant.py +29 -0
- flwr/compat/server/app.py +1 -1
- flwr/proto/clientappio_pb2.py +2 -2
- flwr/proto/clientappio_pb2_grpc.py +104 -88
- flwr/proto/clientappio_pb2_grpc.pyi +140 -80
- flwr/proto/federation_pb2.py +5 -3
- flwr/proto/federation_pb2.pyi +32 -2
- 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 +138 -207
- flwr/proto/serverappio_pb2_grpc.pyi +189 -155
- flwr/proto/simulationio_pb2.py +2 -2
- flwr/proto/simulationio_pb2_grpc.py +62 -90
- flwr/proto/simulationio_pb2_grpc.pyi +95 -55
- flwr/server/app.py +6 -13
- flwr/server/compat/grid_client_proxy.py +2 -1
- flwr/server/grid/grpc_grid.py +5 -5
- flwr/server/serverapp/app.py +11 -4
- flwr/server/superlink/fleet/grpc_adapter/grpc_adapter_servicer.py +1 -1
- flwr/server/superlink/fleet/grpc_rere/node_auth_server_interceptor.py +13 -12
- flwr/server/superlink/fleet/message_handler/message_handler.py +6 -5
- flwr/server/superlink/linkstate/__init__.py +2 -2
- flwr/server/superlink/linkstate/in_memory_linkstate.py +2 -10
- flwr/server/superlink/linkstate/linkstate.py +2 -21
- flwr/server/superlink/linkstate/linkstate_factory.py +16 -8
- flwr/server/superlink/linkstate/{sqlite_linkstate.py → sql_linkstate.py} +432 -534
- flwr/server/superlink/linkstate/utils.py +49 -2
- flwr/server/superlink/serverappio/serverappio_servicer.py +1 -33
- flwr/server/superlink/simulation/simulationio_servicer.py +0 -19
- flwr/server/utils/validator.py +1 -1
- flwr/server/workflow/default_workflows.py +2 -1
- flwr/server/workflow/secure_aggregation/secaggplus_workflow.py +1 -1
- flwr/serverapp/strategy/bulyan.py +7 -1
- flwr/serverapp/strategy/dp_fixed_clipping.py +9 -1
- flwr/serverapp/strategy/fedavg.py +1 -1
- flwr/serverapp/strategy/fedxgb_cyclic.py +1 -1
- flwr/simulation/ray_transport/ray_client_proxy.py +2 -6
- flwr/simulation/run_simulation.py +3 -12
- flwr/simulation/simulationio_connection.py +3 -3
- flwr/{common → supercore}/address.py +7 -33
- flwr/supercore/app_utils.py +2 -1
- flwr/supercore/constant.py +24 -2
- flwr/supercore/corestate/{sqlite_corestate.py → sql_corestate.py} +19 -23
- flwr/supercore/credential_store/__init__.py +33 -0
- flwr/supercore/credential_store/credential_store.py +34 -0
- flwr/supercore/credential_store/file_credential_store.py +76 -0
- flwr/{common → supercore}/date.py +0 -11
- flwr/supercore/ffs/disk_ffs.py +1 -1
- flwr/supercore/object_store/object_store_factory.py +14 -6
- flwr/supercore/object_store/{sqlite_object_store.py → sql_object_store.py} +115 -117
- flwr/supercore/sql_mixin.py +315 -0
- flwr/supercore/state/__init__.py +15 -0
- flwr/supercore/state/alembic/__init__.py +15 -0
- flwr/supercore/state/alembic/env.py +103 -0
- flwr/supercore/state/alembic/script.py.mako +43 -0
- flwr/supercore/state/alembic/utils.py +239 -0
- flwr/supercore/state/alembic/versions/__init__.py +15 -0
- flwr/supercore/state/alembic/versions/rev_2026_01_28_initialize_migration_of_state_tables.py +200 -0
- flwr/supercore/state/schema/README.md +121 -0
- flwr/supercore/state/schema/__init__.py +15 -0
- flwr/supercore/state/schema/corestate_tables.py +36 -0
- flwr/supercore/state/schema/linkstate_tables.py +152 -0
- flwr/supercore/state/schema/objectstore_tables.py +90 -0
- flwr/supercore/superexec/run_superexec.py +2 -2
- flwr/supercore/utils.py +36 -1
- flwr/superlink/federation/federation_manager.py +2 -2
- flwr/superlink/federation/noop_federation_manager.py +8 -6
- flwr/superlink/servicer/control/control_servicer.py +19 -17
- flwr/supernode/cli/flower_supernode.py +2 -1
- flwr/supernode/runtime/run_clientapp.py +14 -14
- flwr/supernode/servicer/clientappio/clientappio_servicer.py +10 -8
- flwr/supernode/start_client_internal.py +10 -6
- {flwr-1.25.0.dist-info → flwr-1.26.0.dist-info}/METADATA +7 -5
- {flwr-1.25.0.dist-info → flwr-1.26.0.dist-info}/RECORD +137 -116
- flwr/cli/federation/show.py +0 -318
- flwr/common/pyproject.py +0 -42
- flwr/supercore/sqlite_mixin.py +0 -159
- /flwr/{common → supercore}/version.py +0 -0
- {flwr-1.25.0.dist-info → flwr-1.26.0.dist-info}/WHEEL +0 -0
- {flwr-1.25.0.dist-info → flwr-1.26.0.dist-info}/entry_points.txt +0 -0
|
@@ -52,31 +52,21 @@ class ClientAppIoStub(object):
|
|
|
52
52
|
request_serializer=flwr_dot_proto_dot_run__pb2.GetRunRequest.SerializeToString,
|
|
53
53
|
response_deserializer=flwr_dot_proto_dot_run__pb2.GetRunResponse.FromString,
|
|
54
54
|
_registered_method=True)
|
|
55
|
-
self.
|
|
56
|
-
'/flwr.proto.ClientAppIo/
|
|
55
|
+
self.SendAppHeartbeat = channel.unary_unary(
|
|
56
|
+
'/flwr.proto.ClientAppIo/SendAppHeartbeat',
|
|
57
|
+
request_serializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatRequest.SerializeToString,
|
|
58
|
+
response_deserializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatResponse.FromString,
|
|
59
|
+
_registered_method=True)
|
|
60
|
+
self.PullAppInputs = channel.unary_unary(
|
|
61
|
+
'/flwr.proto.ClientAppIo/PullAppInputs',
|
|
57
62
|
request_serializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsRequest.SerializeToString,
|
|
58
63
|
response_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsResponse.FromString,
|
|
59
64
|
_registered_method=True)
|
|
60
|
-
self.
|
|
61
|
-
'/flwr.proto.ClientAppIo/
|
|
65
|
+
self.PushAppOutputs = channel.unary_unary(
|
|
66
|
+
'/flwr.proto.ClientAppIo/PushAppOutputs',
|
|
62
67
|
request_serializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsRequest.SerializeToString,
|
|
63
68
|
response_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsResponse.FromString,
|
|
64
69
|
_registered_method=True)
|
|
65
|
-
self.PushMessage = channel.unary_unary(
|
|
66
|
-
'/flwr.proto.ClientAppIo/PushMessage',
|
|
67
|
-
request_serializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesRequest.SerializeToString,
|
|
68
|
-
response_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesResponse.FromString,
|
|
69
|
-
_registered_method=True)
|
|
70
|
-
self.PullMessage = channel.unary_unary(
|
|
71
|
-
'/flwr.proto.ClientAppIo/PullMessage',
|
|
72
|
-
request_serializer=flwr_dot_proto_dot_appio__pb2.PullAppMessagesRequest.SerializeToString,
|
|
73
|
-
response_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppMessagesResponse.FromString,
|
|
74
|
-
_registered_method=True)
|
|
75
|
-
self.SendAppHeartbeat = channel.unary_unary(
|
|
76
|
-
'/flwr.proto.ClientAppIo/SendAppHeartbeat',
|
|
77
|
-
request_serializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatRequest.SerializeToString,
|
|
78
|
-
response_deserializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatResponse.FromString,
|
|
79
|
-
_registered_method=True)
|
|
80
70
|
self.PushObject = channel.unary_unary(
|
|
81
71
|
'/flwr.proto.ClientAppIo/PushObject',
|
|
82
72
|
request_serializer=flwr_dot_proto_dot_message__pb2.PushObjectRequest.SerializeToString,
|
|
@@ -92,13 +82,27 @@ class ClientAppIoStub(object):
|
|
|
92
82
|
request_serializer=flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedRequest.SerializeToString,
|
|
93
83
|
response_deserializer=flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedResponse.FromString,
|
|
94
84
|
_registered_method=True)
|
|
85
|
+
self.PushMessage = channel.unary_unary(
|
|
86
|
+
'/flwr.proto.ClientAppIo/PushMessage',
|
|
87
|
+
request_serializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesRequest.SerializeToString,
|
|
88
|
+
response_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesResponse.FromString,
|
|
89
|
+
_registered_method=True)
|
|
90
|
+
self.PullMessage = channel.unary_unary(
|
|
91
|
+
'/flwr.proto.ClientAppIo/PullMessage',
|
|
92
|
+
request_serializer=flwr_dot_proto_dot_appio__pb2.PullAppMessagesRequest.SerializeToString,
|
|
93
|
+
response_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppMessagesResponse.FromString,
|
|
94
|
+
_registered_method=True)
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
class ClientAppIoServicer(object):
|
|
98
98
|
"""Missing associated documentation comment in .proto file."""
|
|
99
99
|
|
|
100
100
|
def ListAppsToLaunch(self, request, context):
|
|
101
|
-
"""
|
|
101
|
+
"""///////////////////////////////////////////////////////////////////////////
|
|
102
|
+
General *AppIo endpoints for SuperExec processes
|
|
103
|
+
///////////////////////////////////////////////////////////////////////////
|
|
104
|
+
|
|
105
|
+
Get run IDs with pending messages
|
|
102
106
|
"""
|
|
103
107
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
104
108
|
context.set_details('Method not implemented!')
|
|
@@ -112,63 +116,75 @@ class ClientAppIoServicer(object):
|
|
|
112
116
|
raise NotImplementedError('Method not implemented!')
|
|
113
117
|
|
|
114
118
|
def GetRun(self, request, context):
|
|
115
|
-
"""
|
|
119
|
+
"""///////////////////////////////////////////////////////////////////////////
|
|
120
|
+
General *AppIo endpoints for App Executor processes
|
|
121
|
+
///////////////////////////////////////////////////////////////////////////
|
|
122
|
+
|
|
123
|
+
Get run details
|
|
116
124
|
"""
|
|
117
125
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
118
126
|
context.set_details('Method not implemented!')
|
|
119
127
|
raise NotImplementedError('Method not implemented!')
|
|
120
128
|
|
|
121
|
-
def
|
|
122
|
-
"""
|
|
129
|
+
def SendAppHeartbeat(self, request, context):
|
|
130
|
+
"""App heartbeat
|
|
123
131
|
"""
|
|
124
132
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
125
133
|
context.set_details('Method not implemented!')
|
|
126
134
|
raise NotImplementedError('Method not implemented!')
|
|
127
135
|
|
|
128
|
-
def
|
|
129
|
-
"""
|
|
136
|
+
def PullAppInputs(self, request, context):
|
|
137
|
+
"""Pull app inputs
|
|
130
138
|
"""
|
|
131
139
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
132
140
|
context.set_details('Method not implemented!')
|
|
133
141
|
raise NotImplementedError('Method not implemented!')
|
|
134
142
|
|
|
135
|
-
def
|
|
136
|
-
"""Push
|
|
143
|
+
def PushAppOutputs(self, request, context):
|
|
144
|
+
"""Push app outputs
|
|
137
145
|
"""
|
|
138
146
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
139
147
|
context.set_details('Method not implemented!')
|
|
140
148
|
raise NotImplementedError('Method not implemented!')
|
|
141
149
|
|
|
142
|
-
def
|
|
143
|
-
"""
|
|
150
|
+
def PushObject(self, request, context):
|
|
151
|
+
"""///////////////////////////////////////////////////////////////////////////
|
|
152
|
+
Specific endpoints shared by ServerAppIo and ClientAppIo
|
|
153
|
+
///////////////////////////////////////////////////////////////////////////
|
|
154
|
+
|
|
155
|
+
Push Object
|
|
144
156
|
"""
|
|
145
157
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
146
158
|
context.set_details('Method not implemented!')
|
|
147
159
|
raise NotImplementedError('Method not implemented!')
|
|
148
160
|
|
|
149
|
-
def
|
|
150
|
-
"""
|
|
161
|
+
def PullObject(self, request, context):
|
|
162
|
+
"""Pull Object
|
|
151
163
|
"""
|
|
152
164
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
153
165
|
context.set_details('Method not implemented!')
|
|
154
166
|
raise NotImplementedError('Method not implemented!')
|
|
155
167
|
|
|
156
|
-
def
|
|
157
|
-
"""
|
|
168
|
+
def ConfirmMessageReceived(self, request, context):
|
|
169
|
+
"""Confirm Message Received
|
|
158
170
|
"""
|
|
159
171
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
160
172
|
context.set_details('Method not implemented!')
|
|
161
173
|
raise NotImplementedError('Method not implemented!')
|
|
162
174
|
|
|
163
|
-
def
|
|
164
|
-
"""
|
|
175
|
+
def PushMessage(self, request, context):
|
|
176
|
+
"""///////////////////////////////////////////////////////////////////////////
|
|
177
|
+
Specific endpoints for ClientAppIo
|
|
178
|
+
///////////////////////////////////////////////////////////////////////////
|
|
179
|
+
|
|
180
|
+
Push Message
|
|
165
181
|
"""
|
|
166
182
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
167
183
|
context.set_details('Method not implemented!')
|
|
168
184
|
raise NotImplementedError('Method not implemented!')
|
|
169
185
|
|
|
170
|
-
def
|
|
171
|
-
"""
|
|
186
|
+
def PullMessage(self, request, context):
|
|
187
|
+
"""Pull Message
|
|
172
188
|
"""
|
|
173
189
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
174
190
|
context.set_details('Method not implemented!')
|
|
@@ -192,31 +208,21 @@ def add_ClientAppIoServicer_to_server(servicer, server):
|
|
|
192
208
|
request_deserializer=flwr_dot_proto_dot_run__pb2.GetRunRequest.FromString,
|
|
193
209
|
response_serializer=flwr_dot_proto_dot_run__pb2.GetRunResponse.SerializeToString,
|
|
194
210
|
),
|
|
195
|
-
'
|
|
196
|
-
servicer.
|
|
211
|
+
'SendAppHeartbeat': grpc.unary_unary_rpc_method_handler(
|
|
212
|
+
servicer.SendAppHeartbeat,
|
|
213
|
+
request_deserializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatRequest.FromString,
|
|
214
|
+
response_serializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatResponse.SerializeToString,
|
|
215
|
+
),
|
|
216
|
+
'PullAppInputs': grpc.unary_unary_rpc_method_handler(
|
|
217
|
+
servicer.PullAppInputs,
|
|
197
218
|
request_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsRequest.FromString,
|
|
198
219
|
response_serializer=flwr_dot_proto_dot_appio__pb2.PullAppInputsResponse.SerializeToString,
|
|
199
220
|
),
|
|
200
|
-
'
|
|
201
|
-
servicer.
|
|
221
|
+
'PushAppOutputs': grpc.unary_unary_rpc_method_handler(
|
|
222
|
+
servicer.PushAppOutputs,
|
|
202
223
|
request_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsRequest.FromString,
|
|
203
224
|
response_serializer=flwr_dot_proto_dot_appio__pb2.PushAppOutputsResponse.SerializeToString,
|
|
204
225
|
),
|
|
205
|
-
'PushMessage': grpc.unary_unary_rpc_method_handler(
|
|
206
|
-
servicer.PushMessage,
|
|
207
|
-
request_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesRequest.FromString,
|
|
208
|
-
response_serializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesResponse.SerializeToString,
|
|
209
|
-
),
|
|
210
|
-
'PullMessage': grpc.unary_unary_rpc_method_handler(
|
|
211
|
-
servicer.PullMessage,
|
|
212
|
-
request_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppMessagesRequest.FromString,
|
|
213
|
-
response_serializer=flwr_dot_proto_dot_appio__pb2.PullAppMessagesResponse.SerializeToString,
|
|
214
|
-
),
|
|
215
|
-
'SendAppHeartbeat': grpc.unary_unary_rpc_method_handler(
|
|
216
|
-
servicer.SendAppHeartbeat,
|
|
217
|
-
request_deserializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatRequest.FromString,
|
|
218
|
-
response_serializer=flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatResponse.SerializeToString,
|
|
219
|
-
),
|
|
220
226
|
'PushObject': grpc.unary_unary_rpc_method_handler(
|
|
221
227
|
servicer.PushObject,
|
|
222
228
|
request_deserializer=flwr_dot_proto_dot_message__pb2.PushObjectRequest.FromString,
|
|
@@ -232,6 +238,16 @@ def add_ClientAppIoServicer_to_server(servicer, server):
|
|
|
232
238
|
request_deserializer=flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedRequest.FromString,
|
|
233
239
|
response_serializer=flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedResponse.SerializeToString,
|
|
234
240
|
),
|
|
241
|
+
'PushMessage': grpc.unary_unary_rpc_method_handler(
|
|
242
|
+
servicer.PushMessage,
|
|
243
|
+
request_deserializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesRequest.FromString,
|
|
244
|
+
response_serializer=flwr_dot_proto_dot_appio__pb2.PushAppMessagesResponse.SerializeToString,
|
|
245
|
+
),
|
|
246
|
+
'PullMessage': grpc.unary_unary_rpc_method_handler(
|
|
247
|
+
servicer.PullMessage,
|
|
248
|
+
request_deserializer=flwr_dot_proto_dot_appio__pb2.PullAppMessagesRequest.FromString,
|
|
249
|
+
response_serializer=flwr_dot_proto_dot_appio__pb2.PullAppMessagesResponse.SerializeToString,
|
|
250
|
+
),
|
|
235
251
|
}
|
|
236
252
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
237
253
|
'flwr.proto.ClientAppIo', rpc_method_handlers)
|
|
@@ -325,7 +341,7 @@ class ClientAppIo(object):
|
|
|
325
341
|
_registered_method=True)
|
|
326
342
|
|
|
327
343
|
@staticmethod
|
|
328
|
-
def
|
|
344
|
+
def SendAppHeartbeat(request,
|
|
329
345
|
target,
|
|
330
346
|
options=(),
|
|
331
347
|
channel_credentials=None,
|
|
@@ -338,9 +354,9 @@ class ClientAppIo(object):
|
|
|
338
354
|
return grpc.experimental.unary_unary(
|
|
339
355
|
request,
|
|
340
356
|
target,
|
|
341
|
-
'/flwr.proto.ClientAppIo/
|
|
342
|
-
|
|
343
|
-
|
|
357
|
+
'/flwr.proto.ClientAppIo/SendAppHeartbeat',
|
|
358
|
+
flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatRequest.SerializeToString,
|
|
359
|
+
flwr_dot_proto_dot_heartbeat__pb2.SendAppHeartbeatResponse.FromString,
|
|
344
360
|
options,
|
|
345
361
|
channel_credentials,
|
|
346
362
|
insecure,
|
|
@@ -352,7 +368,7 @@ class ClientAppIo(object):
|
|
|
352
368
|
_registered_method=True)
|
|
353
369
|
|
|
354
370
|
@staticmethod
|
|
355
|
-
def
|
|
371
|
+
def PullAppInputs(request,
|
|
356
372
|
target,
|
|
357
373
|
options=(),
|
|
358
374
|
channel_credentials=None,
|
|
@@ -365,9 +381,9 @@ class ClientAppIo(object):
|
|
|
365
381
|
return grpc.experimental.unary_unary(
|
|
366
382
|
request,
|
|
367
383
|
target,
|
|
368
|
-
'/flwr.proto.ClientAppIo/
|
|
369
|
-
flwr_dot_proto_dot_appio__pb2.
|
|
370
|
-
flwr_dot_proto_dot_appio__pb2.
|
|
384
|
+
'/flwr.proto.ClientAppIo/PullAppInputs',
|
|
385
|
+
flwr_dot_proto_dot_appio__pb2.PullAppInputsRequest.SerializeToString,
|
|
386
|
+
flwr_dot_proto_dot_appio__pb2.PullAppInputsResponse.FromString,
|
|
371
387
|
options,
|
|
372
388
|
channel_credentials,
|
|
373
389
|
insecure,
|
|
@@ -379,7 +395,7 @@ class ClientAppIo(object):
|
|
|
379
395
|
_registered_method=True)
|
|
380
396
|
|
|
381
397
|
@staticmethod
|
|
382
|
-
def
|
|
398
|
+
def PushAppOutputs(request,
|
|
383
399
|
target,
|
|
384
400
|
options=(),
|
|
385
401
|
channel_credentials=None,
|
|
@@ -392,9 +408,9 @@ class ClientAppIo(object):
|
|
|
392
408
|
return grpc.experimental.unary_unary(
|
|
393
409
|
request,
|
|
394
410
|
target,
|
|
395
|
-
'/flwr.proto.ClientAppIo/
|
|
396
|
-
flwr_dot_proto_dot_appio__pb2.
|
|
397
|
-
flwr_dot_proto_dot_appio__pb2.
|
|
411
|
+
'/flwr.proto.ClientAppIo/PushAppOutputs',
|
|
412
|
+
flwr_dot_proto_dot_appio__pb2.PushAppOutputsRequest.SerializeToString,
|
|
413
|
+
flwr_dot_proto_dot_appio__pb2.PushAppOutputsResponse.FromString,
|
|
398
414
|
options,
|
|
399
415
|
channel_credentials,
|
|
400
416
|
insecure,
|
|
@@ -406,7 +422,7 @@ class ClientAppIo(object):
|
|
|
406
422
|
_registered_method=True)
|
|
407
423
|
|
|
408
424
|
@staticmethod
|
|
409
|
-
def
|
|
425
|
+
def PushObject(request,
|
|
410
426
|
target,
|
|
411
427
|
options=(),
|
|
412
428
|
channel_credentials=None,
|
|
@@ -419,9 +435,9 @@ class ClientAppIo(object):
|
|
|
419
435
|
return grpc.experimental.unary_unary(
|
|
420
436
|
request,
|
|
421
437
|
target,
|
|
422
|
-
'/flwr.proto.ClientAppIo/
|
|
423
|
-
|
|
424
|
-
|
|
438
|
+
'/flwr.proto.ClientAppIo/PushObject',
|
|
439
|
+
flwr_dot_proto_dot_message__pb2.PushObjectRequest.SerializeToString,
|
|
440
|
+
flwr_dot_proto_dot_message__pb2.PushObjectResponse.FromString,
|
|
425
441
|
options,
|
|
426
442
|
channel_credentials,
|
|
427
443
|
insecure,
|
|
@@ -433,7 +449,7 @@ class ClientAppIo(object):
|
|
|
433
449
|
_registered_method=True)
|
|
434
450
|
|
|
435
451
|
@staticmethod
|
|
436
|
-
def
|
|
452
|
+
def PullObject(request,
|
|
437
453
|
target,
|
|
438
454
|
options=(),
|
|
439
455
|
channel_credentials=None,
|
|
@@ -446,9 +462,9 @@ class ClientAppIo(object):
|
|
|
446
462
|
return grpc.experimental.unary_unary(
|
|
447
463
|
request,
|
|
448
464
|
target,
|
|
449
|
-
'/flwr.proto.ClientAppIo/
|
|
450
|
-
|
|
451
|
-
|
|
465
|
+
'/flwr.proto.ClientAppIo/PullObject',
|
|
466
|
+
flwr_dot_proto_dot_message__pb2.PullObjectRequest.SerializeToString,
|
|
467
|
+
flwr_dot_proto_dot_message__pb2.PullObjectResponse.FromString,
|
|
452
468
|
options,
|
|
453
469
|
channel_credentials,
|
|
454
470
|
insecure,
|
|
@@ -460,7 +476,7 @@ class ClientAppIo(object):
|
|
|
460
476
|
_registered_method=True)
|
|
461
477
|
|
|
462
478
|
@staticmethod
|
|
463
|
-
def
|
|
479
|
+
def ConfirmMessageReceived(request,
|
|
464
480
|
target,
|
|
465
481
|
options=(),
|
|
466
482
|
channel_credentials=None,
|
|
@@ -473,9 +489,9 @@ class ClientAppIo(object):
|
|
|
473
489
|
return grpc.experimental.unary_unary(
|
|
474
490
|
request,
|
|
475
491
|
target,
|
|
476
|
-
'/flwr.proto.ClientAppIo/
|
|
477
|
-
flwr_dot_proto_dot_message__pb2.
|
|
478
|
-
flwr_dot_proto_dot_message__pb2.
|
|
492
|
+
'/flwr.proto.ClientAppIo/ConfirmMessageReceived',
|
|
493
|
+
flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedRequest.SerializeToString,
|
|
494
|
+
flwr_dot_proto_dot_message__pb2.ConfirmMessageReceivedResponse.FromString,
|
|
479
495
|
options,
|
|
480
496
|
channel_credentials,
|
|
481
497
|
insecure,
|
|
@@ -487,7 +503,7 @@ class ClientAppIo(object):
|
|
|
487
503
|
_registered_method=True)
|
|
488
504
|
|
|
489
505
|
@staticmethod
|
|
490
|
-
def
|
|
506
|
+
def PushMessage(request,
|
|
491
507
|
target,
|
|
492
508
|
options=(),
|
|
493
509
|
channel_credentials=None,
|
|
@@ -500,9 +516,9 @@ class ClientAppIo(object):
|
|
|
500
516
|
return grpc.experimental.unary_unary(
|
|
501
517
|
request,
|
|
502
518
|
target,
|
|
503
|
-
'/flwr.proto.ClientAppIo/
|
|
504
|
-
|
|
505
|
-
|
|
519
|
+
'/flwr.proto.ClientAppIo/PushMessage',
|
|
520
|
+
flwr_dot_proto_dot_appio__pb2.PushAppMessagesRequest.SerializeToString,
|
|
521
|
+
flwr_dot_proto_dot_appio__pb2.PushAppMessagesResponse.FromString,
|
|
506
522
|
options,
|
|
507
523
|
channel_credentials,
|
|
508
524
|
insecure,
|
|
@@ -514,7 +530,7 @@ class ClientAppIo(object):
|
|
|
514
530
|
_registered_method=True)
|
|
515
531
|
|
|
516
532
|
@staticmethod
|
|
517
|
-
def
|
|
533
|
+
def PullMessage(request,
|
|
518
534
|
target,
|
|
519
535
|
options=(),
|
|
520
536
|
channel_credentials=None,
|
|
@@ -527,9 +543,9 @@ class ClientAppIo(object):
|
|
|
527
543
|
return grpc.experimental.unary_unary(
|
|
528
544
|
request,
|
|
529
545
|
target,
|
|
530
|
-
'/flwr.proto.ClientAppIo/
|
|
531
|
-
|
|
532
|
-
|
|
546
|
+
'/flwr.proto.ClientAppIo/PullMessage',
|
|
547
|
+
flwr_dot_proto_dot_appio__pb2.PullAppMessagesRequest.SerializeToString,
|
|
548
|
+
flwr_dot_proto_dot_appio__pb2.PullAppMessagesResponse.FromString,
|
|
533
549
|
options,
|
|
534
550
|
channel_credentials,
|
|
535
551
|
insecure,
|