flwr 1.20.0__py3-none-any.whl → 1.21.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 +4 -1
- flwr/app/__init__.py +28 -0
- flwr/app/exception.py +31 -0
- flwr/cli/auth_plugin/oidc_cli_plugin.py +4 -4
- flwr/cli/cli_user_auth_interceptor.py +1 -1
- flwr/cli/config_utils.py +3 -3
- flwr/cli/constant.py +25 -8
- flwr/cli/log.py +9 -9
- flwr/cli/login/login.py +3 -3
- flwr/cli/ls.py +5 -5
- flwr/cli/new/new.py +11 -0
- flwr/cli/new/templates/app/code/__init__.pytorch_msg_api.py.tpl +1 -0
- flwr/cli/new/templates/app/code/client.pytorch_msg_api.py.tpl +80 -0
- flwr/cli/new/templates/app/code/server.pytorch_msg_api.py.tpl +41 -0
- flwr/cli/new/templates/app/code/task.pytorch_msg_api.py.tpl +98 -0
- flwr/cli/new/templates/app/pyproject.baseline.toml.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.flowertune.toml.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.huggingface.toml.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.jax.toml.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.mlx.toml.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.numpy.toml.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.pytorch.toml.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.pytorch_msg_api.toml.tpl +53 -0
- flwr/cli/new/templates/app/pyproject.sklearn.toml.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.tensorflow.toml.tpl +1 -1
- flwr/cli/run/run.py +9 -13
- flwr/cli/stop.py +7 -4
- flwr/cli/utils.py +19 -8
- flwr/client/grpc_rere_client/connection.py +1 -12
- flwr/client/rest_client/connection.py +3 -0
- flwr/clientapp/__init__.py +10 -0
- flwr/clientapp/mod/__init__.py +26 -0
- flwr/clientapp/mod/centraldp_mods.py +132 -0
- flwr/common/args.py +20 -6
- flwr/common/auth_plugin/__init__.py +4 -4
- flwr/common/auth_plugin/auth_plugin.py +7 -7
- flwr/common/constant.py +23 -4
- flwr/common/event_log_plugin/event_log_plugin.py +1 -1
- flwr/common/exit/__init__.py +4 -0
- flwr/common/exit/exit.py +8 -1
- flwr/common/exit/exit_code.py +26 -7
- flwr/common/exit/exit_handler.py +62 -0
- flwr/common/{exit_handlers.py → exit/signal_handler.py} +20 -37
- flwr/common/grpc.py +0 -11
- flwr/common/inflatable_utils.py +1 -1
- flwr/common/logger.py +1 -1
- flwr/common/retry_invoker.py +30 -11
- flwr/common/telemetry.py +4 -0
- flwr/compat/server/app.py +2 -2
- flwr/proto/appio_pb2.py +25 -17
- flwr/proto/appio_pb2.pyi +46 -2
- flwr/proto/clientappio_pb2.py +3 -11
- flwr/proto/clientappio_pb2.pyi +0 -47
- flwr/proto/clientappio_pb2_grpc.py +19 -20
- flwr/proto/clientappio_pb2_grpc.pyi +10 -11
- flwr/proto/control_pb2.py +62 -0
- flwr/proto/{exec_pb2_grpc.py → control_pb2_grpc.py} +54 -54
- flwr/proto/{exec_pb2_grpc.pyi → control_pb2_grpc.pyi} +28 -28
- flwr/proto/serverappio_pb2.py +2 -2
- flwr/proto/serverappio_pb2_grpc.py +68 -0
- flwr/proto/serverappio_pb2_grpc.pyi +26 -0
- flwr/proto/simulationio_pb2.py +4 -11
- flwr/proto/simulationio_pb2.pyi +0 -58
- flwr/proto/simulationio_pb2_grpc.py +129 -27
- flwr/proto/simulationio_pb2_grpc.pyi +52 -13
- flwr/server/app.py +129 -152
- flwr/server/grid/grpc_grid.py +3 -0
- flwr/server/grid/inmemory_grid.py +1 -0
- flwr/server/serverapp/app.py +157 -146
- flwr/server/superlink/fleet/vce/backend/raybackend.py +3 -1
- flwr/server/superlink/fleet/vce/vce_api.py +6 -6
- flwr/server/superlink/linkstate/in_memory_linkstate.py +34 -0
- flwr/server/superlink/linkstate/linkstate.py +2 -1
- flwr/server/superlink/linkstate/sqlite_linkstate.py +45 -0
- flwr/server/superlink/serverappio/serverappio_grpc.py +1 -1
- flwr/server/superlink/serverappio/serverappio_servicer.py +61 -6
- flwr/server/superlink/simulation/simulationio_servicer.py +97 -21
- flwr/serverapp/__init__.py +12 -0
- flwr/serverapp/dp_fixed_clipping.py +352 -0
- flwr/serverapp/exception.py +38 -0
- flwr/serverapp/strategy/__init__.py +38 -0
- flwr/serverapp/strategy/dp_fixed_clipping.py +352 -0
- flwr/serverapp/strategy/fedadagrad.py +162 -0
- flwr/serverapp/strategy/fedadam.py +181 -0
- flwr/serverapp/strategy/fedavg.py +295 -0
- flwr/serverapp/strategy/fedopt.py +218 -0
- flwr/serverapp/strategy/fedyogi.py +173 -0
- flwr/serverapp/strategy/result.py +105 -0
- flwr/serverapp/strategy/strategy.py +285 -0
- flwr/serverapp/strategy/strategy_utils.py +251 -0
- flwr/serverapp/strategy/strategy_utils_tests.py +304 -0
- flwr/simulation/app.py +161 -164
- flwr/supercore/app_utils.py +58 -0
- flwr/{supernode/scheduler → supercore/cli}/__init__.py +3 -3
- flwr/supercore/cli/flower_superexec.py +141 -0
- flwr/supercore/{scheduler → corestate}/__init__.py +3 -3
- flwr/supercore/corestate/corestate.py +81 -0
- flwr/supercore/grpc_health/__init__.py +3 -0
- flwr/supercore/grpc_health/health_server.py +53 -0
- flwr/supercore/grpc_health/simple_health_servicer.py +2 -2
- flwr/{superexec → supercore/superexec}/__init__.py +1 -1
- flwr/supercore/superexec/plugin/__init__.py +28 -0
- flwr/{supernode/scheduler/simple_clientapp_scheduler_plugin.py → supercore/superexec/plugin/base_exec_plugin.py} +10 -6
- flwr/supercore/superexec/plugin/clientapp_exec_plugin.py +28 -0
- flwr/supercore/{scheduler/plugin.py → superexec/plugin/exec_plugin.py} +4 -4
- flwr/supercore/superexec/plugin/serverapp_exec_plugin.py +28 -0
- flwr/supercore/superexec/plugin/simulation_exec_plugin.py +28 -0
- flwr/supercore/superexec/run_superexec.py +185 -0
- flwr/superlink/servicer/__init__.py +15 -0
- flwr/superlink/servicer/control/__init__.py +22 -0
- flwr/{superexec/exec_event_log_interceptor.py → superlink/servicer/control/control_event_log_interceptor.py} +7 -7
- flwr/{superexec/exec_grpc.py → superlink/servicer/control/control_grpc.py} +24 -29
- flwr/{superexec/exec_license_interceptor.py → superlink/servicer/control/control_license_interceptor.py} +6 -6
- flwr/{superexec/exec_servicer.py → superlink/servicer/control/control_servicer.py} +69 -30
- flwr/{superexec/exec_user_auth_interceptor.py → superlink/servicer/control/control_user_auth_interceptor.py} +10 -10
- flwr/supernode/cli/flower_supernode.py +3 -0
- flwr/supernode/cli/flwr_clientapp.py +18 -21
- flwr/supernode/nodestate/in_memory_nodestate.py +2 -2
- flwr/supernode/nodestate/nodestate.py +3 -59
- flwr/supernode/runtime/run_clientapp.py +39 -102
- flwr/supernode/servicer/clientappio/clientappio_servicer.py +10 -17
- flwr/supernode/start_client_internal.py +35 -76
- {flwr-1.20.0.dist-info → flwr-1.21.0.dist-info}/METADATA +4 -3
- {flwr-1.20.0.dist-info → flwr-1.21.0.dist-info}/RECORD +127 -98
- {flwr-1.20.0.dist-info → flwr-1.21.0.dist-info}/entry_points.txt +1 -0
- flwr/proto/exec_pb2.py +0 -62
- flwr/superexec/app.py +0 -45
- flwr/superexec/deployment.py +0 -191
- flwr/superexec/executor.py +0 -100
- flwr/superexec/simulation.py +0 -129
- /flwr/proto/{exec_pb2.pyi → control_pb2.pyi} +0 -0
- {flwr-1.20.0.dist-info → flwr-1.21.0.dist-info}/WHEEL +0 -0
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
5
|
from flwr.proto import appio_pb2 as flwr_dot_proto_dot_appio__pb2
|
|
6
|
-
from flwr.proto import clientappio_pb2 as flwr_dot_proto_dot_clientappio__pb2
|
|
7
6
|
from flwr.proto import message_pb2 as flwr_dot_proto_dot_message__pb2
|
|
8
7
|
from flwr.proto import run_pb2 as flwr_dot_proto_dot_run__pb2
|
|
9
8
|
|
|
@@ -17,15 +16,15 @@ class ClientAppIoStub(object):
|
|
|
17
16
|
Args:
|
|
18
17
|
channel: A grpc.Channel.
|
|
19
18
|
"""
|
|
20
|
-
self.
|
|
21
|
-
'/flwr.proto.ClientAppIo/
|
|
22
|
-
request_serializer=
|
|
23
|
-
response_deserializer=
|
|
19
|
+
self.ListAppsToLaunch = channel.unary_unary(
|
|
20
|
+
'/flwr.proto.ClientAppIo/ListAppsToLaunch',
|
|
21
|
+
request_serializer=flwr_dot_proto_dot_appio__pb2.ListAppsToLaunchRequest.SerializeToString,
|
|
22
|
+
response_deserializer=flwr_dot_proto_dot_appio__pb2.ListAppsToLaunchResponse.FromString,
|
|
24
23
|
)
|
|
25
24
|
self.RequestToken = channel.unary_unary(
|
|
26
25
|
'/flwr.proto.ClientAppIo/RequestToken',
|
|
27
|
-
request_serializer=
|
|
28
|
-
response_deserializer=
|
|
26
|
+
request_serializer=flwr_dot_proto_dot_appio__pb2.RequestTokenRequest.SerializeToString,
|
|
27
|
+
response_deserializer=flwr_dot_proto_dot_appio__pb2.RequestTokenResponse.FromString,
|
|
29
28
|
)
|
|
30
29
|
self.GetRun = channel.unary_unary(
|
|
31
30
|
'/flwr.proto.ClientAppIo/GetRun',
|
|
@@ -72,7 +71,7 @@ class ClientAppIoStub(object):
|
|
|
72
71
|
class ClientAppIoServicer(object):
|
|
73
72
|
"""Missing associated documentation comment in .proto file."""
|
|
74
73
|
|
|
75
|
-
def
|
|
74
|
+
def ListAppsToLaunch(self, request, context):
|
|
76
75
|
"""Get run IDs with pending messages
|
|
77
76
|
"""
|
|
78
77
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -145,15 +144,15 @@ class ClientAppIoServicer(object):
|
|
|
145
144
|
|
|
146
145
|
def add_ClientAppIoServicer_to_server(servicer, server):
|
|
147
146
|
rpc_method_handlers = {
|
|
148
|
-
'
|
|
149
|
-
servicer.
|
|
150
|
-
request_deserializer=
|
|
151
|
-
response_serializer=
|
|
147
|
+
'ListAppsToLaunch': grpc.unary_unary_rpc_method_handler(
|
|
148
|
+
servicer.ListAppsToLaunch,
|
|
149
|
+
request_deserializer=flwr_dot_proto_dot_appio__pb2.ListAppsToLaunchRequest.FromString,
|
|
150
|
+
response_serializer=flwr_dot_proto_dot_appio__pb2.ListAppsToLaunchResponse.SerializeToString,
|
|
152
151
|
),
|
|
153
152
|
'RequestToken': grpc.unary_unary_rpc_method_handler(
|
|
154
153
|
servicer.RequestToken,
|
|
155
|
-
request_deserializer=
|
|
156
|
-
response_serializer=
|
|
154
|
+
request_deserializer=flwr_dot_proto_dot_appio__pb2.RequestTokenRequest.FromString,
|
|
155
|
+
response_serializer=flwr_dot_proto_dot_appio__pb2.RequestTokenResponse.SerializeToString,
|
|
157
156
|
),
|
|
158
157
|
'GetRun': grpc.unary_unary_rpc_method_handler(
|
|
159
158
|
servicer.GetRun,
|
|
@@ -206,7 +205,7 @@ class ClientAppIo(object):
|
|
|
206
205
|
"""Missing associated documentation comment in .proto file."""
|
|
207
206
|
|
|
208
207
|
@staticmethod
|
|
209
|
-
def
|
|
208
|
+
def ListAppsToLaunch(request,
|
|
210
209
|
target,
|
|
211
210
|
options=(),
|
|
212
211
|
channel_credentials=None,
|
|
@@ -216,9 +215,9 @@ class ClientAppIo(object):
|
|
|
216
215
|
wait_for_ready=None,
|
|
217
216
|
timeout=None,
|
|
218
217
|
metadata=None):
|
|
219
|
-
return grpc.experimental.unary_unary(request, target, '/flwr.proto.ClientAppIo/
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.ClientAppIo/ListAppsToLaunch',
|
|
219
|
+
flwr_dot_proto_dot_appio__pb2.ListAppsToLaunchRequest.SerializeToString,
|
|
220
|
+
flwr_dot_proto_dot_appio__pb2.ListAppsToLaunchResponse.FromString,
|
|
222
221
|
options, channel_credentials,
|
|
223
222
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
224
223
|
|
|
@@ -234,8 +233,8 @@ class ClientAppIo(object):
|
|
|
234
233
|
timeout=None,
|
|
235
234
|
metadata=None):
|
|
236
235
|
return grpc.experimental.unary_unary(request, target, '/flwr.proto.ClientAppIo/RequestToken',
|
|
237
|
-
|
|
238
|
-
|
|
236
|
+
flwr_dot_proto_dot_appio__pb2.RequestTokenRequest.SerializeToString,
|
|
237
|
+
flwr_dot_proto_dot_appio__pb2.RequestTokenResponse.FromString,
|
|
239
238
|
options, channel_credentials,
|
|
240
239
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
241
240
|
|
|
@@ -4,21 +4,20 @@ isort:skip_file
|
|
|
4
4
|
"""
|
|
5
5
|
import abc
|
|
6
6
|
import flwr.proto.appio_pb2
|
|
7
|
-
import flwr.proto.clientappio_pb2
|
|
8
7
|
import flwr.proto.message_pb2
|
|
9
8
|
import flwr.proto.run_pb2
|
|
10
9
|
import grpc
|
|
11
10
|
|
|
12
11
|
class ClientAppIoStub:
|
|
13
12
|
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
14
|
-
|
|
15
|
-
flwr.proto.
|
|
16
|
-
flwr.proto.
|
|
13
|
+
ListAppsToLaunch: grpc.UnaryUnaryMultiCallable[
|
|
14
|
+
flwr.proto.appio_pb2.ListAppsToLaunchRequest,
|
|
15
|
+
flwr.proto.appio_pb2.ListAppsToLaunchResponse]
|
|
17
16
|
"""Get run IDs with pending messages"""
|
|
18
17
|
|
|
19
18
|
RequestToken: grpc.UnaryUnaryMultiCallable[
|
|
20
|
-
flwr.proto.
|
|
21
|
-
flwr.proto.
|
|
19
|
+
flwr.proto.appio_pb2.RequestTokenRequest,
|
|
20
|
+
flwr.proto.appio_pb2.RequestTokenResponse]
|
|
22
21
|
"""Request token"""
|
|
23
22
|
|
|
24
23
|
GetRun: grpc.UnaryUnaryMultiCallable[
|
|
@@ -64,18 +63,18 @@ class ClientAppIoStub:
|
|
|
64
63
|
|
|
65
64
|
class ClientAppIoServicer(metaclass=abc.ABCMeta):
|
|
66
65
|
@abc.abstractmethod
|
|
67
|
-
def
|
|
68
|
-
request: flwr.proto.
|
|
66
|
+
def ListAppsToLaunch(self,
|
|
67
|
+
request: flwr.proto.appio_pb2.ListAppsToLaunchRequest,
|
|
69
68
|
context: grpc.ServicerContext,
|
|
70
|
-
) -> flwr.proto.
|
|
69
|
+
) -> flwr.proto.appio_pb2.ListAppsToLaunchResponse:
|
|
71
70
|
"""Get run IDs with pending messages"""
|
|
72
71
|
pass
|
|
73
72
|
|
|
74
73
|
@abc.abstractmethod
|
|
75
74
|
def RequestToken(self,
|
|
76
|
-
request: flwr.proto.
|
|
75
|
+
request: flwr.proto.appio_pb2.RequestTokenRequest,
|
|
77
76
|
context: grpc.ServicerContext,
|
|
78
|
-
) -> flwr.proto.
|
|
77
|
+
) -> flwr.proto.appio_pb2.RequestTokenResponse:
|
|
79
78
|
"""Request token"""
|
|
80
79
|
pass
|
|
81
80
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: flwr/proto/control.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from flwr.proto import fab_pb2 as flwr_dot_proto_dot_fab__pb2
|
|
16
|
+
from flwr.proto import transport_pb2 as flwr_dot_proto_dot_transport__pb2
|
|
17
|
+
from flwr.proto import recorddict_pb2 as flwr_dot_proto_dot_recorddict__pb2
|
|
18
|
+
from flwr.proto import run_pb2 as flwr_dot_proto_dot_run__pb2
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x66lwr/proto/control.proto\x12\nflwr.proto\x1a\x14\x66lwr/proto/fab.proto\x1a\x1a\x66lwr/proto/transport.proto\x1a\x1b\x66lwr/proto/recorddict.proto\x1a\x14\x66lwr/proto/run.proto\"\xfa\x01\n\x0fStartRunRequest\x12\x1c\n\x03\x66\x61\x62\x18\x01 \x01(\x0b\x32\x0f.flwr.proto.Fab\x12H\n\x0foverride_config\x18\x02 \x03(\x0b\x32/.flwr.proto.StartRunRequest.OverrideConfigEntry\x12\x34\n\x12\x66\x65\x64\x65ration_options\x18\x03 \x01(\x0b\x32\x18.flwr.proto.ConfigRecord\x1aI\n\x13OverrideConfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.flwr.proto.Scalar:\x02\x38\x01\"2\n\x10StartRunResponse\x12\x13\n\x06run_id\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\t\n\x07_run_id\"<\n\x11StreamLogsRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\x12\x17\n\x0f\x61\x66ter_timestamp\x18\x02 \x01(\x01\"B\n\x12StreamLogsResponse\x12\x12\n\nlog_output\x18\x01 \x01(\t\x12\x18\n\x10latest_timestamp\x18\x02 \x01(\x01\"1\n\x0fListRunsRequest\x12\x13\n\x06run_id\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\t\n\x07_run_id\"\x9d\x01\n\x10ListRunsResponse\x12;\n\x08run_dict\x18\x01 \x03(\x0b\x32).flwr.proto.ListRunsResponse.RunDictEntry\x12\x0b\n\x03now\x18\x02 \x01(\t\x1a?\n\x0cRunDictEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.flwr.proto.Run:\x02\x38\x01\"\x18\n\x16GetLoginDetailsRequest\"\x8a\x01\n\x17GetLoginDetailsResponse\x12\x11\n\tauth_type\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65vice_code\x18\x02 \x01(\t\x12!\n\x19verification_uri_complete\x18\x03 \x01(\t\x12\x12\n\nexpires_in\x18\x04 \x01(\x03\x12\x10\n\x08interval\x18\x05 \x01(\x03\"+\n\x14GetAuthTokensRequest\x12\x13\n\x0b\x64\x65vice_code\x18\x01 \x01(\t\"D\n\x15GetAuthTokensResponse\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\t\x12\x15\n\rrefresh_token\x18\x02 \x01(\t\" \n\x0eStopRunRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\"\"\n\x0fStopRunResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x32\xe8\x03\n\x07\x43ontrol\x12G\n\x08StartRun\x12\x1b.flwr.proto.StartRunRequest\x1a\x1c.flwr.proto.StartRunResponse\"\x00\x12\x44\n\x07StopRun\x12\x1a.flwr.proto.StopRunRequest\x1a\x1b.flwr.proto.StopRunResponse\"\x00\x12O\n\nStreamLogs\x12\x1d.flwr.proto.StreamLogsRequest\x1a\x1e.flwr.proto.StreamLogsResponse\"\x00\x30\x01\x12G\n\x08ListRuns\x12\x1b.flwr.proto.ListRunsRequest\x1a\x1c.flwr.proto.ListRunsResponse\"\x00\x12\\\n\x0fGetLoginDetails\x12\".flwr.proto.GetLoginDetailsRequest\x1a#.flwr.proto.GetLoginDetailsResponse\"\x00\x12V\n\rGetAuthTokens\x12 .flwr.proto.GetAuthTokensRequest\x1a!.flwr.proto.GetAuthTokensResponse\"\x00\x62\x06proto3')
|
|
22
|
+
|
|
23
|
+
_globals = globals()
|
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.control_pb2', _globals)
|
|
26
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
|
+
DESCRIPTOR._options = None
|
|
28
|
+
_globals['_STARTRUNREQUEST_OVERRIDECONFIGENTRY']._options = None
|
|
29
|
+
_globals['_STARTRUNREQUEST_OVERRIDECONFIGENTRY']._serialized_options = b'8\001'
|
|
30
|
+
_globals['_LISTRUNSRESPONSE_RUNDICTENTRY']._options = None
|
|
31
|
+
_globals['_LISTRUNSRESPONSE_RUNDICTENTRY']._serialized_options = b'8\001'
|
|
32
|
+
_globals['_STARTRUNREQUEST']._serialized_start=142
|
|
33
|
+
_globals['_STARTRUNREQUEST']._serialized_end=392
|
|
34
|
+
_globals['_STARTRUNREQUEST_OVERRIDECONFIGENTRY']._serialized_start=319
|
|
35
|
+
_globals['_STARTRUNREQUEST_OVERRIDECONFIGENTRY']._serialized_end=392
|
|
36
|
+
_globals['_STARTRUNRESPONSE']._serialized_start=394
|
|
37
|
+
_globals['_STARTRUNRESPONSE']._serialized_end=444
|
|
38
|
+
_globals['_STREAMLOGSREQUEST']._serialized_start=446
|
|
39
|
+
_globals['_STREAMLOGSREQUEST']._serialized_end=506
|
|
40
|
+
_globals['_STREAMLOGSRESPONSE']._serialized_start=508
|
|
41
|
+
_globals['_STREAMLOGSRESPONSE']._serialized_end=574
|
|
42
|
+
_globals['_LISTRUNSREQUEST']._serialized_start=576
|
|
43
|
+
_globals['_LISTRUNSREQUEST']._serialized_end=625
|
|
44
|
+
_globals['_LISTRUNSRESPONSE']._serialized_start=628
|
|
45
|
+
_globals['_LISTRUNSRESPONSE']._serialized_end=785
|
|
46
|
+
_globals['_LISTRUNSRESPONSE_RUNDICTENTRY']._serialized_start=722
|
|
47
|
+
_globals['_LISTRUNSRESPONSE_RUNDICTENTRY']._serialized_end=785
|
|
48
|
+
_globals['_GETLOGINDETAILSREQUEST']._serialized_start=787
|
|
49
|
+
_globals['_GETLOGINDETAILSREQUEST']._serialized_end=811
|
|
50
|
+
_globals['_GETLOGINDETAILSRESPONSE']._serialized_start=814
|
|
51
|
+
_globals['_GETLOGINDETAILSRESPONSE']._serialized_end=952
|
|
52
|
+
_globals['_GETAUTHTOKENSREQUEST']._serialized_start=954
|
|
53
|
+
_globals['_GETAUTHTOKENSREQUEST']._serialized_end=997
|
|
54
|
+
_globals['_GETAUTHTOKENSRESPONSE']._serialized_start=999
|
|
55
|
+
_globals['_GETAUTHTOKENSRESPONSE']._serialized_end=1067
|
|
56
|
+
_globals['_STOPRUNREQUEST']._serialized_start=1069
|
|
57
|
+
_globals['_STOPRUNREQUEST']._serialized_end=1101
|
|
58
|
+
_globals['_STOPRUNRESPONSE']._serialized_start=1103
|
|
59
|
+
_globals['_STOPRUNRESPONSE']._serialized_end=1137
|
|
60
|
+
_globals['_CONTROL']._serialized_start=1140
|
|
61
|
+
_globals['_CONTROL']._serialized_end=1628
|
|
62
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
|
-
from flwr.proto import
|
|
5
|
+
from flwr.proto import control_pb2 as flwr_dot_proto_dot_control__pb2
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class ControlStub(object):
|
|
9
9
|
"""Missing associated documentation comment in .proto file."""
|
|
10
10
|
|
|
11
11
|
def __init__(self, channel):
|
|
@@ -15,38 +15,38 @@ class ExecStub(object):
|
|
|
15
15
|
channel: A grpc.Channel.
|
|
16
16
|
"""
|
|
17
17
|
self.StartRun = channel.unary_unary(
|
|
18
|
-
'/flwr.proto.
|
|
19
|
-
request_serializer=
|
|
20
|
-
response_deserializer=
|
|
18
|
+
'/flwr.proto.Control/StartRun',
|
|
19
|
+
request_serializer=flwr_dot_proto_dot_control__pb2.StartRunRequest.SerializeToString,
|
|
20
|
+
response_deserializer=flwr_dot_proto_dot_control__pb2.StartRunResponse.FromString,
|
|
21
21
|
)
|
|
22
22
|
self.StopRun = channel.unary_unary(
|
|
23
|
-
'/flwr.proto.
|
|
24
|
-
request_serializer=
|
|
25
|
-
response_deserializer=
|
|
23
|
+
'/flwr.proto.Control/StopRun',
|
|
24
|
+
request_serializer=flwr_dot_proto_dot_control__pb2.StopRunRequest.SerializeToString,
|
|
25
|
+
response_deserializer=flwr_dot_proto_dot_control__pb2.StopRunResponse.FromString,
|
|
26
26
|
)
|
|
27
27
|
self.StreamLogs = channel.unary_stream(
|
|
28
|
-
'/flwr.proto.
|
|
29
|
-
request_serializer=
|
|
30
|
-
response_deserializer=
|
|
28
|
+
'/flwr.proto.Control/StreamLogs',
|
|
29
|
+
request_serializer=flwr_dot_proto_dot_control__pb2.StreamLogsRequest.SerializeToString,
|
|
30
|
+
response_deserializer=flwr_dot_proto_dot_control__pb2.StreamLogsResponse.FromString,
|
|
31
31
|
)
|
|
32
32
|
self.ListRuns = channel.unary_unary(
|
|
33
|
-
'/flwr.proto.
|
|
34
|
-
request_serializer=
|
|
35
|
-
response_deserializer=
|
|
33
|
+
'/flwr.proto.Control/ListRuns',
|
|
34
|
+
request_serializer=flwr_dot_proto_dot_control__pb2.ListRunsRequest.SerializeToString,
|
|
35
|
+
response_deserializer=flwr_dot_proto_dot_control__pb2.ListRunsResponse.FromString,
|
|
36
36
|
)
|
|
37
37
|
self.GetLoginDetails = channel.unary_unary(
|
|
38
|
-
'/flwr.proto.
|
|
39
|
-
request_serializer=
|
|
40
|
-
response_deserializer=
|
|
38
|
+
'/flwr.proto.Control/GetLoginDetails',
|
|
39
|
+
request_serializer=flwr_dot_proto_dot_control__pb2.GetLoginDetailsRequest.SerializeToString,
|
|
40
|
+
response_deserializer=flwr_dot_proto_dot_control__pb2.GetLoginDetailsResponse.FromString,
|
|
41
41
|
)
|
|
42
42
|
self.GetAuthTokens = channel.unary_unary(
|
|
43
|
-
'/flwr.proto.
|
|
44
|
-
request_serializer=
|
|
45
|
-
response_deserializer=
|
|
43
|
+
'/flwr.proto.Control/GetAuthTokens',
|
|
44
|
+
request_serializer=flwr_dot_proto_dot_control__pb2.GetAuthTokensRequest.SerializeToString,
|
|
45
|
+
response_deserializer=flwr_dot_proto_dot_control__pb2.GetAuthTokensResponse.FromString,
|
|
46
46
|
)
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class ControlServicer(object):
|
|
50
50
|
"""Missing associated documentation comment in .proto file."""
|
|
51
51
|
|
|
52
52
|
def StartRun(self, request, context):
|
|
@@ -92,46 +92,46 @@ class ExecServicer(object):
|
|
|
92
92
|
raise NotImplementedError('Method not implemented!')
|
|
93
93
|
|
|
94
94
|
|
|
95
|
-
def
|
|
95
|
+
def add_ControlServicer_to_server(servicer, server):
|
|
96
96
|
rpc_method_handlers = {
|
|
97
97
|
'StartRun': grpc.unary_unary_rpc_method_handler(
|
|
98
98
|
servicer.StartRun,
|
|
99
|
-
request_deserializer=
|
|
100
|
-
response_serializer=
|
|
99
|
+
request_deserializer=flwr_dot_proto_dot_control__pb2.StartRunRequest.FromString,
|
|
100
|
+
response_serializer=flwr_dot_proto_dot_control__pb2.StartRunResponse.SerializeToString,
|
|
101
101
|
),
|
|
102
102
|
'StopRun': grpc.unary_unary_rpc_method_handler(
|
|
103
103
|
servicer.StopRun,
|
|
104
|
-
request_deserializer=
|
|
105
|
-
response_serializer=
|
|
104
|
+
request_deserializer=flwr_dot_proto_dot_control__pb2.StopRunRequest.FromString,
|
|
105
|
+
response_serializer=flwr_dot_proto_dot_control__pb2.StopRunResponse.SerializeToString,
|
|
106
106
|
),
|
|
107
107
|
'StreamLogs': grpc.unary_stream_rpc_method_handler(
|
|
108
108
|
servicer.StreamLogs,
|
|
109
|
-
request_deserializer=
|
|
110
|
-
response_serializer=
|
|
109
|
+
request_deserializer=flwr_dot_proto_dot_control__pb2.StreamLogsRequest.FromString,
|
|
110
|
+
response_serializer=flwr_dot_proto_dot_control__pb2.StreamLogsResponse.SerializeToString,
|
|
111
111
|
),
|
|
112
112
|
'ListRuns': grpc.unary_unary_rpc_method_handler(
|
|
113
113
|
servicer.ListRuns,
|
|
114
|
-
request_deserializer=
|
|
115
|
-
response_serializer=
|
|
114
|
+
request_deserializer=flwr_dot_proto_dot_control__pb2.ListRunsRequest.FromString,
|
|
115
|
+
response_serializer=flwr_dot_proto_dot_control__pb2.ListRunsResponse.SerializeToString,
|
|
116
116
|
),
|
|
117
117
|
'GetLoginDetails': grpc.unary_unary_rpc_method_handler(
|
|
118
118
|
servicer.GetLoginDetails,
|
|
119
|
-
request_deserializer=
|
|
120
|
-
response_serializer=
|
|
119
|
+
request_deserializer=flwr_dot_proto_dot_control__pb2.GetLoginDetailsRequest.FromString,
|
|
120
|
+
response_serializer=flwr_dot_proto_dot_control__pb2.GetLoginDetailsResponse.SerializeToString,
|
|
121
121
|
),
|
|
122
122
|
'GetAuthTokens': grpc.unary_unary_rpc_method_handler(
|
|
123
123
|
servicer.GetAuthTokens,
|
|
124
|
-
request_deserializer=
|
|
125
|
-
response_serializer=
|
|
124
|
+
request_deserializer=flwr_dot_proto_dot_control__pb2.GetAuthTokensRequest.FromString,
|
|
125
|
+
response_serializer=flwr_dot_proto_dot_control__pb2.GetAuthTokensResponse.SerializeToString,
|
|
126
126
|
),
|
|
127
127
|
}
|
|
128
128
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
129
|
-
'flwr.proto.
|
|
129
|
+
'flwr.proto.Control', rpc_method_handlers)
|
|
130
130
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
# This class is part of an EXPERIMENTAL API.
|
|
134
|
-
class
|
|
134
|
+
class Control(object):
|
|
135
135
|
"""Missing associated documentation comment in .proto file."""
|
|
136
136
|
|
|
137
137
|
@staticmethod
|
|
@@ -145,9 +145,9 @@ class Exec(object):
|
|
|
145
145
|
wait_for_ready=None,
|
|
146
146
|
timeout=None,
|
|
147
147
|
metadata=None):
|
|
148
|
-
return grpc.experimental.unary_unary(request, target, '/flwr.proto.
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Control/StartRun',
|
|
149
|
+
flwr_dot_proto_dot_control__pb2.StartRunRequest.SerializeToString,
|
|
150
|
+
flwr_dot_proto_dot_control__pb2.StartRunResponse.FromString,
|
|
151
151
|
options, channel_credentials,
|
|
152
152
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
153
153
|
|
|
@@ -162,9 +162,9 @@ class Exec(object):
|
|
|
162
162
|
wait_for_ready=None,
|
|
163
163
|
timeout=None,
|
|
164
164
|
metadata=None):
|
|
165
|
-
return grpc.experimental.unary_unary(request, target, '/flwr.proto.
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Control/StopRun',
|
|
166
|
+
flwr_dot_proto_dot_control__pb2.StopRunRequest.SerializeToString,
|
|
167
|
+
flwr_dot_proto_dot_control__pb2.StopRunResponse.FromString,
|
|
168
168
|
options, channel_credentials,
|
|
169
169
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
170
170
|
|
|
@@ -179,9 +179,9 @@ class Exec(object):
|
|
|
179
179
|
wait_for_ready=None,
|
|
180
180
|
timeout=None,
|
|
181
181
|
metadata=None):
|
|
182
|
-
return grpc.experimental.unary_stream(request, target, '/flwr.proto.
|
|
183
|
-
|
|
184
|
-
|
|
182
|
+
return grpc.experimental.unary_stream(request, target, '/flwr.proto.Control/StreamLogs',
|
|
183
|
+
flwr_dot_proto_dot_control__pb2.StreamLogsRequest.SerializeToString,
|
|
184
|
+
flwr_dot_proto_dot_control__pb2.StreamLogsResponse.FromString,
|
|
185
185
|
options, channel_credentials,
|
|
186
186
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
187
187
|
|
|
@@ -196,9 +196,9 @@ class Exec(object):
|
|
|
196
196
|
wait_for_ready=None,
|
|
197
197
|
timeout=None,
|
|
198
198
|
metadata=None):
|
|
199
|
-
return grpc.experimental.unary_unary(request, target, '/flwr.proto.
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Control/ListRuns',
|
|
200
|
+
flwr_dot_proto_dot_control__pb2.ListRunsRequest.SerializeToString,
|
|
201
|
+
flwr_dot_proto_dot_control__pb2.ListRunsResponse.FromString,
|
|
202
202
|
options, channel_credentials,
|
|
203
203
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
204
204
|
|
|
@@ -213,9 +213,9 @@ class Exec(object):
|
|
|
213
213
|
wait_for_ready=None,
|
|
214
214
|
timeout=None,
|
|
215
215
|
metadata=None):
|
|
216
|
-
return grpc.experimental.unary_unary(request, target, '/flwr.proto.
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Control/GetLoginDetails',
|
|
217
|
+
flwr_dot_proto_dot_control__pb2.GetLoginDetailsRequest.SerializeToString,
|
|
218
|
+
flwr_dot_proto_dot_control__pb2.GetLoginDetailsResponse.FromString,
|
|
219
219
|
options, channel_credentials,
|
|
220
220
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
221
221
|
|
|
@@ -230,8 +230,8 @@ class Exec(object):
|
|
|
230
230
|
wait_for_ready=None,
|
|
231
231
|
timeout=None,
|
|
232
232
|
metadata=None):
|
|
233
|
-
return grpc.experimental.unary_unary(request, target, '/flwr.proto.
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.Control/GetAuthTokens',
|
|
234
|
+
flwr_dot_proto_dot_control__pb2.GetAuthTokensRequest.SerializeToString,
|
|
235
|
+
flwr_dot_proto_dot_control__pb2.GetAuthTokensResponse.FromString,
|
|
236
236
|
options, channel_credentials,
|
|
237
237
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -3,91 +3,91 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
import abc
|
|
6
|
-
import flwr.proto.
|
|
6
|
+
import flwr.proto.control_pb2
|
|
7
7
|
import grpc
|
|
8
8
|
import typing
|
|
9
9
|
|
|
10
|
-
class
|
|
10
|
+
class ControlStub:
|
|
11
11
|
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
12
|
StartRun: grpc.UnaryUnaryMultiCallable[
|
|
13
|
-
flwr.proto.
|
|
14
|
-
flwr.proto.
|
|
13
|
+
flwr.proto.control_pb2.StartRunRequest,
|
|
14
|
+
flwr.proto.control_pb2.StartRunResponse]
|
|
15
15
|
"""Start run upon request"""
|
|
16
16
|
|
|
17
17
|
StopRun: grpc.UnaryUnaryMultiCallable[
|
|
18
|
-
flwr.proto.
|
|
19
|
-
flwr.proto.
|
|
18
|
+
flwr.proto.control_pb2.StopRunRequest,
|
|
19
|
+
flwr.proto.control_pb2.StopRunResponse]
|
|
20
20
|
"""Stop run upon request"""
|
|
21
21
|
|
|
22
22
|
StreamLogs: grpc.UnaryStreamMultiCallable[
|
|
23
|
-
flwr.proto.
|
|
24
|
-
flwr.proto.
|
|
23
|
+
flwr.proto.control_pb2.StreamLogsRequest,
|
|
24
|
+
flwr.proto.control_pb2.StreamLogsResponse]
|
|
25
25
|
"""Start log stream upon request"""
|
|
26
26
|
|
|
27
27
|
ListRuns: grpc.UnaryUnaryMultiCallable[
|
|
28
|
-
flwr.proto.
|
|
29
|
-
flwr.proto.
|
|
28
|
+
flwr.proto.control_pb2.ListRunsRequest,
|
|
29
|
+
flwr.proto.control_pb2.ListRunsResponse]
|
|
30
30
|
"""flwr ls command"""
|
|
31
31
|
|
|
32
32
|
GetLoginDetails: grpc.UnaryUnaryMultiCallable[
|
|
33
|
-
flwr.proto.
|
|
34
|
-
flwr.proto.
|
|
33
|
+
flwr.proto.control_pb2.GetLoginDetailsRequest,
|
|
34
|
+
flwr.proto.control_pb2.GetLoginDetailsResponse]
|
|
35
35
|
"""Get login details upon request"""
|
|
36
36
|
|
|
37
37
|
GetAuthTokens: grpc.UnaryUnaryMultiCallable[
|
|
38
|
-
flwr.proto.
|
|
39
|
-
flwr.proto.
|
|
38
|
+
flwr.proto.control_pb2.GetAuthTokensRequest,
|
|
39
|
+
flwr.proto.control_pb2.GetAuthTokensResponse]
|
|
40
40
|
"""Get auth tokens upon request"""
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class ControlServicer(metaclass=abc.ABCMeta):
|
|
44
44
|
@abc.abstractmethod
|
|
45
45
|
def StartRun(self,
|
|
46
|
-
request: flwr.proto.
|
|
46
|
+
request: flwr.proto.control_pb2.StartRunRequest,
|
|
47
47
|
context: grpc.ServicerContext,
|
|
48
|
-
) -> flwr.proto.
|
|
48
|
+
) -> flwr.proto.control_pb2.StartRunResponse:
|
|
49
49
|
"""Start run upon request"""
|
|
50
50
|
pass
|
|
51
51
|
|
|
52
52
|
@abc.abstractmethod
|
|
53
53
|
def StopRun(self,
|
|
54
|
-
request: flwr.proto.
|
|
54
|
+
request: flwr.proto.control_pb2.StopRunRequest,
|
|
55
55
|
context: grpc.ServicerContext,
|
|
56
|
-
) -> flwr.proto.
|
|
56
|
+
) -> flwr.proto.control_pb2.StopRunResponse:
|
|
57
57
|
"""Stop run upon request"""
|
|
58
58
|
pass
|
|
59
59
|
|
|
60
60
|
@abc.abstractmethod
|
|
61
61
|
def StreamLogs(self,
|
|
62
|
-
request: flwr.proto.
|
|
62
|
+
request: flwr.proto.control_pb2.StreamLogsRequest,
|
|
63
63
|
context: grpc.ServicerContext,
|
|
64
|
-
) -> typing.Iterator[flwr.proto.
|
|
64
|
+
) -> typing.Iterator[flwr.proto.control_pb2.StreamLogsResponse]:
|
|
65
65
|
"""Start log stream upon request"""
|
|
66
66
|
pass
|
|
67
67
|
|
|
68
68
|
@abc.abstractmethod
|
|
69
69
|
def ListRuns(self,
|
|
70
|
-
request: flwr.proto.
|
|
70
|
+
request: flwr.proto.control_pb2.ListRunsRequest,
|
|
71
71
|
context: grpc.ServicerContext,
|
|
72
|
-
) -> flwr.proto.
|
|
72
|
+
) -> flwr.proto.control_pb2.ListRunsResponse:
|
|
73
73
|
"""flwr ls command"""
|
|
74
74
|
pass
|
|
75
75
|
|
|
76
76
|
@abc.abstractmethod
|
|
77
77
|
def GetLoginDetails(self,
|
|
78
|
-
request: flwr.proto.
|
|
78
|
+
request: flwr.proto.control_pb2.GetLoginDetailsRequest,
|
|
79
79
|
context: grpc.ServicerContext,
|
|
80
|
-
) -> flwr.proto.
|
|
80
|
+
) -> flwr.proto.control_pb2.GetLoginDetailsResponse:
|
|
81
81
|
"""Get login details upon request"""
|
|
82
82
|
pass
|
|
83
83
|
|
|
84
84
|
@abc.abstractmethod
|
|
85
85
|
def GetAuthTokens(self,
|
|
86
|
-
request: flwr.proto.
|
|
86
|
+
request: flwr.proto.control_pb2.GetAuthTokensRequest,
|
|
87
87
|
context: grpc.ServicerContext,
|
|
88
|
-
) -> flwr.proto.
|
|
88
|
+
) -> flwr.proto.control_pb2.GetAuthTokensResponse:
|
|
89
89
|
"""Get auth tokens upon request"""
|
|
90
90
|
pass
|
|
91
91
|
|
|
92
92
|
|
|
93
|
-
def
|
|
93
|
+
def add_ControlServicer_to_server(servicer: ControlServicer, server: grpc.Server) -> None: ...
|
flwr/proto/serverappio_pb2.py
CHANGED
|
@@ -21,7 +21,7 @@ from flwr.proto import fab_pb2 as flwr_dot_proto_dot_fab__pb2
|
|
|
21
21
|
from flwr.proto import appio_pb2 as flwr_dot_proto_dot_appio__pb2
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/serverappio.proto\x12\nflwr.proto\x1a\x1a\x66lwr/proto/heartbeat.proto\x1a\x14\x66lwr/proto/log.proto\x1a\x15\x66lwr/proto/node.proto\x1a\x18\x66lwr/proto/message.proto\x1a\x14\x66lwr/proto/run.proto\x1a\x14\x66lwr/proto/fab.proto\x1a\x16\x66lwr/proto/appio.proto\"!\n\x0fGetNodesRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\"3\n\x10GetNodesResponse\x12\x1f\n\x05nodes\x18\x01 \x03(\x0b\x32\x10.flwr.proto.Node2\
|
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lwr/proto/serverappio.proto\x12\nflwr.proto\x1a\x1a\x66lwr/proto/heartbeat.proto\x1a\x14\x66lwr/proto/log.proto\x1a\x15\x66lwr/proto/node.proto\x1a\x18\x66lwr/proto/message.proto\x1a\x14\x66lwr/proto/run.proto\x1a\x14\x66lwr/proto/fab.proto\x1a\x16\x66lwr/proto/appio.proto\"!\n\x0fGetNodesRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\"3\n\x10GetNodesResponse\x12\x1f\n\x05nodes\x18\x01 \x03(\x0b\x32\x10.flwr.proto.Node2\xe9\n\n\x0bServerAppIo\x12_\n\x10ListAppsToLaunch\x12#.flwr.proto.ListAppsToLaunchRequest\x1a$.flwr.proto.ListAppsToLaunchResponse\"\x00\x12S\n\x0cRequestToken\x12\x1f.flwr.proto.RequestTokenRequest\x1a .flwr.proto.RequestTokenResponse\"\x00\x12G\n\x08GetNodes\x12\x1b.flwr.proto.GetNodesRequest\x1a\x1c.flwr.proto.GetNodesResponse\"\x00\x12Y\n\x0cPushMessages\x12\".flwr.proto.PushAppMessagesRequest\x1a#.flwr.proto.PushAppMessagesResponse\"\x00\x12Y\n\x0cPullMessages\x12\".flwr.proto.PullAppMessagesRequest\x1a#.flwr.proto.PullAppMessagesResponse\"\x00\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\x12V\n\rPullAppInputs\x12 .flwr.proto.PullAppInputsRequest\x1a!.flwr.proto.PullAppInputsResponse\"\x00\x12Y\n\x0ePushAppOutputs\x12!.flwr.proto.PushAppOutputsRequest\x1a\".flwr.proto.PushAppOutputsResponse\"\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\x12_\n\x10SendAppHeartbeat\x12#.flwr.proto.SendAppHeartbeatRequest\x1a$.flwr.proto.SendAppHeartbeatResponse\"\x00\x12M\n\nPushObject\x12\x1d.flwr.proto.PushObjectRequest\x1a\x1e.flwr.proto.PushObjectResponse\"\x00\x12M\n\nPullObject\x12\x1d.flwr.proto.PullObjectRequest\x1a\x1e.flwr.proto.PullObjectResponse\"\x00\x12q\n\x16\x43onfirmMessageReceived\x12).flwr.proto.ConfirmMessageReceivedRequest\x1a*.flwr.proto.ConfirmMessageReceivedResponse\"\x00\x62\x06proto3')
|
|
25
25
|
|
|
26
26
|
_globals = globals()
|
|
27
27
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,5 +33,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
33
33
|
_globals['_GETNODESRESPONSE']._serialized_start=246
|
|
34
34
|
_globals['_GETNODESRESPONSE']._serialized_end=297
|
|
35
35
|
_globals['_SERVERAPPIO']._serialized_start=300
|
|
36
|
-
_globals['_SERVERAPPIO']._serialized_end=
|
|
36
|
+
_globals['_SERVERAPPIO']._serialized_end=1685
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|