flwr-nightly 1.13.0.dev20241102__py3-none-any.whl → 1.13.0.dev20241104__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.
Potentially problematic release.
This version of flwr-nightly might be problematic. Click here for more details.
- flwr/cli/config_utils.py +0 -1
- flwr/proto/simulationio_pb2.py +38 -0
- flwr/proto/simulationio_pb2.pyi +65 -0
- flwr/proto/simulationio_pb2_grpc.py +171 -0
- flwr/proto/simulationio_pb2_grpc.pyi +68 -0
- {flwr_nightly-1.13.0.dev20241102.dist-info → flwr_nightly-1.13.0.dev20241104.dist-info}/METADATA +1 -1
- {flwr_nightly-1.13.0.dev20241102.dist-info → flwr_nightly-1.13.0.dev20241104.dist-info}/RECORD +10 -6
- {flwr_nightly-1.13.0.dev20241102.dist-info → flwr_nightly-1.13.0.dev20241104.dist-info}/LICENSE +0 -0
- {flwr_nightly-1.13.0.dev20241102.dist-info → flwr_nightly-1.13.0.dev20241104.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.13.0.dev20241102.dist-info → flwr_nightly-1.13.0.dev20241104.dist-info}/entry_points.txt +0 -0
flwr/cli/config_utils.py
CHANGED
|
@@ -275,7 +275,6 @@ def validate_federation_in_project_config(
|
|
|
275
275
|
|
|
276
276
|
# Validate the federation exists in the configuration
|
|
277
277
|
federation_config = config["tool"]["flwr"]["federations"].get(federation)
|
|
278
|
-
print(federation_config)
|
|
279
278
|
if federation_config is None:
|
|
280
279
|
available_feds = {
|
|
281
280
|
fed for fed in config["tool"]["flwr"]["federations"] if fed != "default"
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: flwr/proto/simulationio.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.0
|
|
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 log_pb2 as flwr_dot_proto_dot_log__pb2
|
|
16
|
+
from flwr.proto import message_pb2 as flwr_dot_proto_dot_message__pb2
|
|
17
|
+
from flwr.proto import run_pb2 as flwr_dot_proto_dot_run__pb2
|
|
18
|
+
from flwr.proto import fab_pb2 as flwr_dot_proto_dot_fab__pb2
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x66lwr/proto/simulationio.proto\x12\nflwr.proto\x1a\x14\x66lwr/proto/log.proto\x1a\x18\x66lwr/proto/message.proto\x1a\x14\x66lwr/proto/run.proto\x1a\x14\x66lwr/proto/fab.proto\"\x1d\n\x1bPullSimulationInputsRequest\"\x80\x01\n\x1cPullSimulationInputsResponse\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\"T\n\x1cPushSimulationOutputsRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\x12$\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x13.flwr.proto.Context\"\x1f\n\x1dPushSimulationOutputsResponse2\x92\x03\n\x0cSimulationIo\x12k\n\x14PullSimulationInputs\x12\'.flwr.proto.PullSimulationInputsRequest\x1a(.flwr.proto.PullSimulationInputsResponse\"\x00\x12n\n\x15PushSimulationOutputs\x12(.flwr.proto.PushSimulationOutputsRequest\x1a).flwr.proto.PushSimulationOutputsResponse\"\x00\x12\\\n\x0fUpdateRunStatus\x12\".flwr.proto.UpdateRunStatusRequest\x1a#.flwr.proto.UpdateRunStatusResponse\"\x00\x12G\n\x08PushLogs\x12\x1b.flwr.proto.PushLogsRequest\x1a\x1c.flwr.proto.PushLogsResponse\"\x00\x62\x06proto3')
|
|
22
|
+
|
|
23
|
+
_globals = globals()
|
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.simulationio_pb2', _globals)
|
|
26
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
|
+
DESCRIPTOR._options = None
|
|
28
|
+
_globals['_PULLSIMULATIONINPUTSREQUEST']._serialized_start=137
|
|
29
|
+
_globals['_PULLSIMULATIONINPUTSREQUEST']._serialized_end=166
|
|
30
|
+
_globals['_PULLSIMULATIONINPUTSRESPONSE']._serialized_start=169
|
|
31
|
+
_globals['_PULLSIMULATIONINPUTSRESPONSE']._serialized_end=297
|
|
32
|
+
_globals['_PUSHSIMULATIONOUTPUTSREQUEST']._serialized_start=299
|
|
33
|
+
_globals['_PUSHSIMULATIONOUTPUTSREQUEST']._serialized_end=383
|
|
34
|
+
_globals['_PUSHSIMULATIONOUTPUTSRESPONSE']._serialized_start=385
|
|
35
|
+
_globals['_PUSHSIMULATIONOUTPUTSRESPONSE']._serialized_end=416
|
|
36
|
+
_globals['_SIMULATIONIO']._serialized_start=419
|
|
37
|
+
_globals['_SIMULATIONIO']._serialized_end=821
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import builtins
|
|
6
|
+
import flwr.proto.fab_pb2
|
|
7
|
+
import flwr.proto.message_pb2
|
|
8
|
+
import flwr.proto.run_pb2
|
|
9
|
+
import google.protobuf.descriptor
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import typing_extensions
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
class PullSimulationInputsRequest(google.protobuf.message.Message):
|
|
17
|
+
"""PullSimulationInputs messages"""
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
def __init__(self,
|
|
20
|
+
) -> None: ...
|
|
21
|
+
global___PullSimulationInputsRequest = PullSimulationInputsRequest
|
|
22
|
+
|
|
23
|
+
class PullSimulationInputsResponse(google.protobuf.message.Message):
|
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
25
|
+
CONTEXT_FIELD_NUMBER: builtins.int
|
|
26
|
+
RUN_FIELD_NUMBER: builtins.int
|
|
27
|
+
FAB_FIELD_NUMBER: builtins.int
|
|
28
|
+
@property
|
|
29
|
+
def context(self) -> flwr.proto.message_pb2.Context: ...
|
|
30
|
+
@property
|
|
31
|
+
def run(self) -> flwr.proto.run_pb2.Run: ...
|
|
32
|
+
@property
|
|
33
|
+
def fab(self) -> flwr.proto.fab_pb2.Fab: ...
|
|
34
|
+
def __init__(self,
|
|
35
|
+
*,
|
|
36
|
+
context: typing.Optional[flwr.proto.message_pb2.Context] = ...,
|
|
37
|
+
run: typing.Optional[flwr.proto.run_pb2.Run] = ...,
|
|
38
|
+
fab: typing.Optional[flwr.proto.fab_pb2.Fab] = ...,
|
|
39
|
+
) -> None: ...
|
|
40
|
+
def HasField(self, field_name: typing_extensions.Literal["context",b"context","fab",b"fab","run",b"run"]) -> builtins.bool: ...
|
|
41
|
+
def ClearField(self, field_name: typing_extensions.Literal["context",b"context","fab",b"fab","run",b"run"]) -> None: ...
|
|
42
|
+
global___PullSimulationInputsResponse = PullSimulationInputsResponse
|
|
43
|
+
|
|
44
|
+
class PushSimulationOutputsRequest(google.protobuf.message.Message):
|
|
45
|
+
"""PushSimulationOutputs messages"""
|
|
46
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
47
|
+
RUN_ID_FIELD_NUMBER: builtins.int
|
|
48
|
+
CONTEXT_FIELD_NUMBER: builtins.int
|
|
49
|
+
run_id: builtins.int
|
|
50
|
+
@property
|
|
51
|
+
def context(self) -> flwr.proto.message_pb2.Context: ...
|
|
52
|
+
def __init__(self,
|
|
53
|
+
*,
|
|
54
|
+
run_id: builtins.int = ...,
|
|
55
|
+
context: typing.Optional[flwr.proto.message_pb2.Context] = ...,
|
|
56
|
+
) -> None: ...
|
|
57
|
+
def HasField(self, field_name: typing_extensions.Literal["context",b"context"]) -> builtins.bool: ...
|
|
58
|
+
def ClearField(self, field_name: typing_extensions.Literal["context",b"context","run_id",b"run_id"]) -> None: ...
|
|
59
|
+
global___PushSimulationOutputsRequest = PushSimulationOutputsRequest
|
|
60
|
+
|
|
61
|
+
class PushSimulationOutputsResponse(google.protobuf.message.Message):
|
|
62
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
63
|
+
def __init__(self,
|
|
64
|
+
) -> None: ...
|
|
65
|
+
global___PushSimulationOutputsResponse = PushSimulationOutputsResponse
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from flwr.proto import log_pb2 as flwr_dot_proto_dot_log__pb2
|
|
6
|
+
from flwr.proto import run_pb2 as flwr_dot_proto_dot_run__pb2
|
|
7
|
+
from flwr.proto import simulationio_pb2 as flwr_dot_proto_dot_simulationio__pb2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SimulationIoStub(object):
|
|
11
|
+
"""Missing associated documentation comment in .proto file."""
|
|
12
|
+
|
|
13
|
+
def __init__(self, channel):
|
|
14
|
+
"""Constructor.
|
|
15
|
+
|
|
16
|
+
Args:
|
|
17
|
+
channel: A grpc.Channel.
|
|
18
|
+
"""
|
|
19
|
+
self.PullSimulationInputs = channel.unary_unary(
|
|
20
|
+
'/flwr.proto.SimulationIo/PullSimulationInputs',
|
|
21
|
+
request_serializer=flwr_dot_proto_dot_simulationio__pb2.PullSimulationInputsRequest.SerializeToString,
|
|
22
|
+
response_deserializer=flwr_dot_proto_dot_simulationio__pb2.PullSimulationInputsResponse.FromString,
|
|
23
|
+
)
|
|
24
|
+
self.PushSimulationOutputs = channel.unary_unary(
|
|
25
|
+
'/flwr.proto.SimulationIo/PushSimulationOutputs',
|
|
26
|
+
request_serializer=flwr_dot_proto_dot_simulationio__pb2.PushSimulationOutputsRequest.SerializeToString,
|
|
27
|
+
response_deserializer=flwr_dot_proto_dot_simulationio__pb2.PushSimulationOutputsResponse.FromString,
|
|
28
|
+
)
|
|
29
|
+
self.UpdateRunStatus = channel.unary_unary(
|
|
30
|
+
'/flwr.proto.SimulationIo/UpdateRunStatus',
|
|
31
|
+
request_serializer=flwr_dot_proto_dot_run__pb2.UpdateRunStatusRequest.SerializeToString,
|
|
32
|
+
response_deserializer=flwr_dot_proto_dot_run__pb2.UpdateRunStatusResponse.FromString,
|
|
33
|
+
)
|
|
34
|
+
self.PushLogs = channel.unary_unary(
|
|
35
|
+
'/flwr.proto.SimulationIo/PushLogs',
|
|
36
|
+
request_serializer=flwr_dot_proto_dot_log__pb2.PushLogsRequest.SerializeToString,
|
|
37
|
+
response_deserializer=flwr_dot_proto_dot_log__pb2.PushLogsResponse.FromString,
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class SimulationIoServicer(object):
|
|
42
|
+
"""Missing associated documentation comment in .proto file."""
|
|
43
|
+
|
|
44
|
+
def PullSimulationInputs(self, request, context):
|
|
45
|
+
"""Pull Simulation inputs
|
|
46
|
+
"""
|
|
47
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
48
|
+
context.set_details('Method not implemented!')
|
|
49
|
+
raise NotImplementedError('Method not implemented!')
|
|
50
|
+
|
|
51
|
+
def PushSimulationOutputs(self, request, context):
|
|
52
|
+
"""Push Simulation outputs
|
|
53
|
+
"""
|
|
54
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
55
|
+
context.set_details('Method not implemented!')
|
|
56
|
+
raise NotImplementedError('Method not implemented!')
|
|
57
|
+
|
|
58
|
+
def UpdateRunStatus(self, request, context):
|
|
59
|
+
"""Update the status of a given run
|
|
60
|
+
"""
|
|
61
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
62
|
+
context.set_details('Method not implemented!')
|
|
63
|
+
raise NotImplementedError('Method not implemented!')
|
|
64
|
+
|
|
65
|
+
def PushLogs(self, request, context):
|
|
66
|
+
"""Push ServerApp logs
|
|
67
|
+
"""
|
|
68
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
69
|
+
context.set_details('Method not implemented!')
|
|
70
|
+
raise NotImplementedError('Method not implemented!')
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def add_SimulationIoServicer_to_server(servicer, server):
|
|
74
|
+
rpc_method_handlers = {
|
|
75
|
+
'PullSimulationInputs': grpc.unary_unary_rpc_method_handler(
|
|
76
|
+
servicer.PullSimulationInputs,
|
|
77
|
+
request_deserializer=flwr_dot_proto_dot_simulationio__pb2.PullSimulationInputsRequest.FromString,
|
|
78
|
+
response_serializer=flwr_dot_proto_dot_simulationio__pb2.PullSimulationInputsResponse.SerializeToString,
|
|
79
|
+
),
|
|
80
|
+
'PushSimulationOutputs': grpc.unary_unary_rpc_method_handler(
|
|
81
|
+
servicer.PushSimulationOutputs,
|
|
82
|
+
request_deserializer=flwr_dot_proto_dot_simulationio__pb2.PushSimulationOutputsRequest.FromString,
|
|
83
|
+
response_serializer=flwr_dot_proto_dot_simulationio__pb2.PushSimulationOutputsResponse.SerializeToString,
|
|
84
|
+
),
|
|
85
|
+
'UpdateRunStatus': grpc.unary_unary_rpc_method_handler(
|
|
86
|
+
servicer.UpdateRunStatus,
|
|
87
|
+
request_deserializer=flwr_dot_proto_dot_run__pb2.UpdateRunStatusRequest.FromString,
|
|
88
|
+
response_serializer=flwr_dot_proto_dot_run__pb2.UpdateRunStatusResponse.SerializeToString,
|
|
89
|
+
),
|
|
90
|
+
'PushLogs': grpc.unary_unary_rpc_method_handler(
|
|
91
|
+
servicer.PushLogs,
|
|
92
|
+
request_deserializer=flwr_dot_proto_dot_log__pb2.PushLogsRequest.FromString,
|
|
93
|
+
response_serializer=flwr_dot_proto_dot_log__pb2.PushLogsResponse.SerializeToString,
|
|
94
|
+
),
|
|
95
|
+
}
|
|
96
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
97
|
+
'flwr.proto.SimulationIo', rpc_method_handlers)
|
|
98
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
# This class is part of an EXPERIMENTAL API.
|
|
102
|
+
class SimulationIo(object):
|
|
103
|
+
"""Missing associated documentation comment in .proto file."""
|
|
104
|
+
|
|
105
|
+
@staticmethod
|
|
106
|
+
def PullSimulationInputs(request,
|
|
107
|
+
target,
|
|
108
|
+
options=(),
|
|
109
|
+
channel_credentials=None,
|
|
110
|
+
call_credentials=None,
|
|
111
|
+
insecure=False,
|
|
112
|
+
compression=None,
|
|
113
|
+
wait_for_ready=None,
|
|
114
|
+
timeout=None,
|
|
115
|
+
metadata=None):
|
|
116
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.SimulationIo/PullSimulationInputs',
|
|
117
|
+
flwr_dot_proto_dot_simulationio__pb2.PullSimulationInputsRequest.SerializeToString,
|
|
118
|
+
flwr_dot_proto_dot_simulationio__pb2.PullSimulationInputsResponse.FromString,
|
|
119
|
+
options, channel_credentials,
|
|
120
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
121
|
+
|
|
122
|
+
@staticmethod
|
|
123
|
+
def PushSimulationOutputs(request,
|
|
124
|
+
target,
|
|
125
|
+
options=(),
|
|
126
|
+
channel_credentials=None,
|
|
127
|
+
call_credentials=None,
|
|
128
|
+
insecure=False,
|
|
129
|
+
compression=None,
|
|
130
|
+
wait_for_ready=None,
|
|
131
|
+
timeout=None,
|
|
132
|
+
metadata=None):
|
|
133
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.SimulationIo/PushSimulationOutputs',
|
|
134
|
+
flwr_dot_proto_dot_simulationio__pb2.PushSimulationOutputsRequest.SerializeToString,
|
|
135
|
+
flwr_dot_proto_dot_simulationio__pb2.PushSimulationOutputsResponse.FromString,
|
|
136
|
+
options, channel_credentials,
|
|
137
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
138
|
+
|
|
139
|
+
@staticmethod
|
|
140
|
+
def UpdateRunStatus(request,
|
|
141
|
+
target,
|
|
142
|
+
options=(),
|
|
143
|
+
channel_credentials=None,
|
|
144
|
+
call_credentials=None,
|
|
145
|
+
insecure=False,
|
|
146
|
+
compression=None,
|
|
147
|
+
wait_for_ready=None,
|
|
148
|
+
timeout=None,
|
|
149
|
+
metadata=None):
|
|
150
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.SimulationIo/UpdateRunStatus',
|
|
151
|
+
flwr_dot_proto_dot_run__pb2.UpdateRunStatusRequest.SerializeToString,
|
|
152
|
+
flwr_dot_proto_dot_run__pb2.UpdateRunStatusResponse.FromString,
|
|
153
|
+
options, channel_credentials,
|
|
154
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
155
|
+
|
|
156
|
+
@staticmethod
|
|
157
|
+
def PushLogs(request,
|
|
158
|
+
target,
|
|
159
|
+
options=(),
|
|
160
|
+
channel_credentials=None,
|
|
161
|
+
call_credentials=None,
|
|
162
|
+
insecure=False,
|
|
163
|
+
compression=None,
|
|
164
|
+
wait_for_ready=None,
|
|
165
|
+
timeout=None,
|
|
166
|
+
metadata=None):
|
|
167
|
+
return grpc.experimental.unary_unary(request, target, '/flwr.proto.SimulationIo/PushLogs',
|
|
168
|
+
flwr_dot_proto_dot_log__pb2.PushLogsRequest.SerializeToString,
|
|
169
|
+
flwr_dot_proto_dot_log__pb2.PushLogsResponse.FromString,
|
|
170
|
+
options, channel_credentials,
|
|
171
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import flwr.proto.log_pb2
|
|
7
|
+
import flwr.proto.run_pb2
|
|
8
|
+
import flwr.proto.simulationio_pb2
|
|
9
|
+
import grpc
|
|
10
|
+
|
|
11
|
+
class SimulationIoStub:
|
|
12
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
13
|
+
PullSimulationInputs: grpc.UnaryUnaryMultiCallable[
|
|
14
|
+
flwr.proto.simulationio_pb2.PullSimulationInputsRequest,
|
|
15
|
+
flwr.proto.simulationio_pb2.PullSimulationInputsResponse]
|
|
16
|
+
"""Pull Simulation inputs"""
|
|
17
|
+
|
|
18
|
+
PushSimulationOutputs: grpc.UnaryUnaryMultiCallable[
|
|
19
|
+
flwr.proto.simulationio_pb2.PushSimulationOutputsRequest,
|
|
20
|
+
flwr.proto.simulationio_pb2.PushSimulationOutputsResponse]
|
|
21
|
+
"""Push Simulation outputs"""
|
|
22
|
+
|
|
23
|
+
UpdateRunStatus: grpc.UnaryUnaryMultiCallable[
|
|
24
|
+
flwr.proto.run_pb2.UpdateRunStatusRequest,
|
|
25
|
+
flwr.proto.run_pb2.UpdateRunStatusResponse]
|
|
26
|
+
"""Update the status of a given run"""
|
|
27
|
+
|
|
28
|
+
PushLogs: grpc.UnaryUnaryMultiCallable[
|
|
29
|
+
flwr.proto.log_pb2.PushLogsRequest,
|
|
30
|
+
flwr.proto.log_pb2.PushLogsResponse]
|
|
31
|
+
"""Push ServerApp logs"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class SimulationIoServicer(metaclass=abc.ABCMeta):
|
|
35
|
+
@abc.abstractmethod
|
|
36
|
+
def PullSimulationInputs(self,
|
|
37
|
+
request: flwr.proto.simulationio_pb2.PullSimulationInputsRequest,
|
|
38
|
+
context: grpc.ServicerContext,
|
|
39
|
+
) -> flwr.proto.simulationio_pb2.PullSimulationInputsResponse:
|
|
40
|
+
"""Pull Simulation inputs"""
|
|
41
|
+
pass
|
|
42
|
+
|
|
43
|
+
@abc.abstractmethod
|
|
44
|
+
def PushSimulationOutputs(self,
|
|
45
|
+
request: flwr.proto.simulationio_pb2.PushSimulationOutputsRequest,
|
|
46
|
+
context: grpc.ServicerContext,
|
|
47
|
+
) -> flwr.proto.simulationio_pb2.PushSimulationOutputsResponse:
|
|
48
|
+
"""Push Simulation outputs"""
|
|
49
|
+
pass
|
|
50
|
+
|
|
51
|
+
@abc.abstractmethod
|
|
52
|
+
def UpdateRunStatus(self,
|
|
53
|
+
request: flwr.proto.run_pb2.UpdateRunStatusRequest,
|
|
54
|
+
context: grpc.ServicerContext,
|
|
55
|
+
) -> flwr.proto.run_pb2.UpdateRunStatusResponse:
|
|
56
|
+
"""Update the status of a given run"""
|
|
57
|
+
pass
|
|
58
|
+
|
|
59
|
+
@abc.abstractmethod
|
|
60
|
+
def PushLogs(self,
|
|
61
|
+
request: flwr.proto.log_pb2.PushLogsRequest,
|
|
62
|
+
context: grpc.ServicerContext,
|
|
63
|
+
) -> flwr.proto.log_pb2.PushLogsResponse:
|
|
64
|
+
"""Push ServerApp logs"""
|
|
65
|
+
pass
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def add_SimulationIoServicer_to_server(servicer: SimulationIoServicer, server: grpc.Server) -> None: ...
|
{flwr_nightly-1.13.0.dev20241102.dist-info → flwr_nightly-1.13.0.dev20241104.dist-info}/RECORD
RENAMED
|
@@ -2,7 +2,7 @@ flwr/__init__.py,sha256=VmBWedrCxqmt4QvUHBLqyVEH6p7zaFMD_oCHerXHSVw,937
|
|
|
2
2
|
flwr/cli/__init__.py,sha256=cZJVgozlkC6Ni2Hd_FAIrqefrkCGOV18fikToq-6iLw,720
|
|
3
3
|
flwr/cli/app.py,sha256=_HDs7HS12Dp7NXIyVrkPs1SKJq3x-XvVZd6y1lvyud4,1255
|
|
4
4
|
flwr/cli/build.py,sha256=k2M0aIY2q5WB_yXQ22Woxt1zb6m-Z1wNwmhWMxEm5Dw,6344
|
|
5
|
-
flwr/cli/config_utils.py,sha256=
|
|
5
|
+
flwr/cli/config_utils.py,sha256=n-xNkQG_0POz5UUHyE00lthNaOjuS6IYU9Thzb_BThs,11431
|
|
6
6
|
flwr/cli/example.py,sha256=1bGDYll3BXQY2kRqSN-oICqS5n1b9m0g0RvXTopXHl4,2215
|
|
7
7
|
flwr/cli/install.py,sha256=7Dx8zrn49mTktxGOToBhGx8hzsHOViDasMJ43ooKPXc,8646
|
|
8
8
|
flwr/cli/log.py,sha256=WlAuxZdTUYZ5bRKkm0jLWrOxHTS0TlSA5BeDtO9xF3k,6659
|
|
@@ -193,6 +193,10 @@ flwr/proto/serverappio_pb2.py,sha256=zWnODeaj26oSx98-BFvwtWM_fYvsw9OeSIuV7JnKVvw
|
|
|
193
193
|
flwr/proto/serverappio_pb2.pyi,sha256=Ib9c32FCtjA9zZY54Ohi6B-DtLgSjokAqOExm_2uOvY,6429
|
|
194
194
|
flwr/proto/serverappio_pb2_grpc.py,sha256=M__pFMmb9yTAGMHVd3_K1V6DeLRuFc9UErJHWjBAsZs,17439
|
|
195
195
|
flwr/proto/serverappio_pb2_grpc.pyi,sha256=ERM-0cQVmUqrVXlvEbS2wfUZpZmv5SlIeNsGZPYMrVo,4779
|
|
196
|
+
flwr/proto/simulationio_pb2.py,sha256=Za9bndkWX7TPoiNmlnQeRHR4DQ2UrbaagDtirKOb-0U,2884
|
|
197
|
+
flwr/proto/simulationio_pb2.pyi,sha256=oXx8_FLBe5B54wduZj-f89kub73XxNtQbThuW8YfPAs,2660
|
|
198
|
+
flwr/proto/simulationio_pb2_grpc.py,sha256=6bLKBXsB8Oam8RurI0i8kPKe_1VpnbqY7RrD9nqs1PM,7900
|
|
199
|
+
flwr/proto/simulationio_pb2_grpc.pyi,sha256=d_BJaLr6bG_lcQoZuyglqAr6uJm6ttJhE0sk4zZf5N8,2320
|
|
196
200
|
flwr/proto/task_pb2.py,sha256=R5GfHgL8IJRI_qHWNeILl1Y9zHjvB0tnCvMHmTgF4Is,2361
|
|
197
201
|
flwr/proto/task_pb2.pyi,sha256=KJVsLm-THY5QjHreHDm_-OS1tyZyD61mx6BzOpoeMjw,4320
|
|
198
202
|
flwr/proto/task_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
@@ -306,8 +310,8 @@ flwr/superexec/exec_grpc.py,sha256=OuhBAk7hiky9rjGceinLGIXqchtzGPQThZnwyYv6Ei0,2
|
|
|
306
310
|
flwr/superexec/exec_servicer.py,sha256=6dUCijBYhrntZeQj82q2kVOUNFu_tsFOwT5HkkLYn9Q,3927
|
|
307
311
|
flwr/superexec/executor.py,sha256=QA2_hQJxmN3zc75oEkDs-zkWAHesz59jE0P5lem-5VU,3073
|
|
308
312
|
flwr/superexec/simulation.py,sha256=Ny3MJnNlgzW4K3NbgsgDM0LKKcoCd_q3LqNqb0GhWLI,7640
|
|
309
|
-
flwr_nightly-1.13.0.
|
|
310
|
-
flwr_nightly-1.13.0.
|
|
311
|
-
flwr_nightly-1.13.0.
|
|
312
|
-
flwr_nightly-1.13.0.
|
|
313
|
-
flwr_nightly-1.13.0.
|
|
313
|
+
flwr_nightly-1.13.0.dev20241104.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
314
|
+
flwr_nightly-1.13.0.dev20241104.dist-info/METADATA,sha256=JSHAY5Mt504DEkmxlC912d09dTTDS8gJlZaZfoBA-YM,15618
|
|
315
|
+
flwr_nightly-1.13.0.dev20241104.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
316
|
+
flwr_nightly-1.13.0.dev20241104.dist-info/entry_points.txt,sha256=FxJQ96pmcNF2OvkTH6XF-Ip2PNrHvykjArkvkjQC7Mk,486
|
|
317
|
+
flwr_nightly-1.13.0.dev20241104.dist-info/RECORD,,
|
{flwr_nightly-1.13.0.dev20241102.dist-info → flwr_nightly-1.13.0.dev20241104.dist-info}/LICENSE
RENAMED
|
File without changes
|
{flwr_nightly-1.13.0.dev20241102.dist-info → flwr_nightly-1.13.0.dev20241104.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|