flwr 1.17.0__py3-none-any.whl → 1.19.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 +15 -0
- flwr/app/error.py +68 -0
- flwr/app/metadata.py +223 -0
- flwr/cli/__init__.py +1 -1
- flwr/cli/app.py +21 -2
- flwr/cli/build.py +83 -58
- flwr/cli/cli_user_auth_interceptor.py +1 -1
- flwr/cli/config_utils.py +53 -17
- flwr/cli/example.py +1 -1
- flwr/cli/install.py +1 -1
- flwr/cli/log.py +4 -4
- flwr/cli/login/__init__.py +1 -1
- flwr/cli/login/login.py +15 -8
- flwr/cli/ls.py +16 -37
- flwr/cli/new/__init__.py +1 -1
- flwr/cli/new/new.py +4 -4
- flwr/cli/new/templates/__init__.py +1 -1
- flwr/cli/new/templates/app/__init__.py +1 -1
- flwr/cli/new/templates/app/code/__init__.py +1 -1
- flwr/cli/new/templates/app/code/client.baseline.py.tpl +1 -1
- flwr/cli/new/templates/app/code/flwr_tune/__init__.py +1 -1
- flwr/cli/new/templates/app/code/flwr_tune/client_app.py.tpl +4 -4
- flwr/cli/new/templates/app/code/model.baseline.py.tpl +1 -1
- flwr/cli/new/templates/app/code/server.baseline.py.tpl +2 -3
- flwr/cli/new/templates/app/code/task.sklearn.py.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.baseline.toml.tpl +14 -17
- flwr/cli/new/templates/app/pyproject.flowertune.toml.tpl +4 -4
- 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.sklearn.toml.tpl +1 -1
- flwr/cli/new/templates/app/pyproject.tensorflow.toml.tpl +1 -1
- flwr/cli/run/__init__.py +1 -1
- flwr/cli/run/run.py +11 -19
- flwr/cli/stop.py +3 -3
- flwr/cli/utils.py +42 -17
- flwr/client/__init__.py +3 -3
- flwr/client/client.py +1 -1
- flwr/client/client_app.py +140 -138
- flwr/client/clientapp/__init__.py +1 -8
- flwr/client/clientapp/utils.py +1 -1
- flwr/client/dpfedavg_numpy_client.py +1 -1
- flwr/client/grpc_adapter_client/__init__.py +1 -1
- flwr/client/grpc_adapter_client/connection.py +5 -5
- flwr/client/grpc_rere_client/__init__.py +1 -1
- flwr/client/grpc_rere_client/client_interceptor.py +1 -1
- flwr/client/grpc_rere_client/connection.py +131 -61
- flwr/client/grpc_rere_client/grpc_adapter.py +35 -7
- flwr/client/message_handler/__init__.py +1 -1
- flwr/client/message_handler/message_handler.py +2 -2
- flwr/client/mod/__init__.py +1 -1
- flwr/client/mod/centraldp_mods.py +1 -1
- flwr/client/mod/comms_mods.py +39 -20
- flwr/client/mod/localdp_mod.py +6 -6
- flwr/client/mod/secure_aggregation/__init__.py +1 -1
- flwr/client/mod/secure_aggregation/secagg_mod.py +1 -1
- flwr/client/mod/secure_aggregation/secaggplus_mod.py +1 -1
- flwr/client/mod/utils.py +1 -1
- flwr/client/numpy_client.py +1 -1
- flwr/client/rest_client/__init__.py +1 -1
- flwr/client/rest_client/connection.py +174 -68
- flwr/client/run_info_store.py +1 -1
- flwr/client/typing.py +1 -1
- flwr/clientapp/__init__.py +15 -0
- flwr/common/__init__.py +3 -3
- flwr/common/address.py +1 -1
- flwr/common/args.py +1 -1
- flwr/common/auth_plugin/__init__.py +3 -1
- flwr/common/auth_plugin/auth_plugin.py +30 -4
- flwr/common/config.py +1 -1
- flwr/common/constant.py +37 -8
- flwr/common/context.py +1 -1
- flwr/common/date.py +1 -1
- flwr/common/differential_privacy.py +1 -1
- flwr/common/differential_privacy_constants.py +1 -1
- flwr/common/dp.py +1 -1
- flwr/common/event_log_plugin/event_log_plugin.py +3 -3
- flwr/common/exit/exit.py +6 -6
- flwr/common/exit_handlers.py +31 -1
- flwr/common/grpc.py +1 -1
- flwr/common/heartbeat.py +165 -0
- flwr/common/inflatable.py +290 -0
- flwr/common/inflatable_grpc_utils.py +99 -0
- flwr/common/inflatable_rest_utils.py +99 -0
- flwr/common/inflatable_utils.py +341 -0
- flwr/common/logger.py +1 -1
- flwr/common/message.py +137 -252
- flwr/common/object_ref.py +1 -1
- flwr/common/parameter.py +1 -1
- flwr/common/pyproject.py +1 -1
- flwr/common/record/__init__.py +3 -2
- flwr/common/record/array.py +323 -0
- flwr/common/record/arrayrecord.py +121 -243
- flwr/common/record/configrecord.py +71 -16
- flwr/common/record/conversion_utils.py +2 -2
- flwr/common/record/metricrecord.py +71 -20
- flwr/common/record/recorddict.py +207 -90
- flwr/common/record/typeddict.py +1 -1
- flwr/common/recorddict_compat.py +2 -2
- flwr/common/retry_invoker.py +15 -11
- flwr/common/secure_aggregation/__init__.py +1 -1
- flwr/common/secure_aggregation/crypto/__init__.py +1 -1
- flwr/common/secure_aggregation/crypto/shamir.py +52 -30
- flwr/common/secure_aggregation/crypto/symmetric_encryption.py +1 -1
- flwr/common/secure_aggregation/ndarrays_arithmetic.py +1 -1
- flwr/common/secure_aggregation/quantization.py +1 -1
- flwr/common/secure_aggregation/secaggplus_constants.py +1 -1
- flwr/common/secure_aggregation/secaggplus_utils.py +1 -1
- flwr/common/serde.py +60 -184
- flwr/common/serde_utils.py +175 -0
- flwr/common/telemetry.py +2 -2
- flwr/common/typing.py +6 -4
- flwr/common/version.py +1 -1
- flwr/compat/__init__.py +15 -0
- flwr/compat/client/__init__.py +15 -0
- flwr/{client → compat/client}/app.py +71 -211
- flwr/{client → compat/client}/grpc_client/__init__.py +1 -1
- flwr/{client → compat/client}/grpc_client/connection.py +13 -13
- flwr/compat/common/__init__.py +15 -0
- flwr/compat/server/__init__.py +15 -0
- flwr/compat/server/app.py +174 -0
- flwr/compat/simulation/__init__.py +15 -0
- flwr/proto/__init__.py +1 -1
- flwr/proto/fleet_pb2.py +32 -27
- flwr/proto/fleet_pb2.pyi +49 -35
- flwr/proto/fleet_pb2_grpc.py +117 -13
- flwr/proto/fleet_pb2_grpc.pyi +47 -6
- flwr/proto/heartbeat_pb2.py +33 -0
- flwr/proto/heartbeat_pb2.pyi +66 -0
- flwr/proto/heartbeat_pb2_grpc.py +4 -0
- flwr/proto/heartbeat_pb2_grpc.pyi +4 -0
- flwr/proto/message_pb2.py +28 -11
- flwr/proto/message_pb2.pyi +125 -0
- flwr/proto/recorddict_pb2.py +16 -28
- flwr/proto/recorddict_pb2.pyi +46 -64
- flwr/proto/run_pb2.py +24 -32
- flwr/proto/run_pb2.pyi +4 -52
- flwr/proto/serverappio_pb2.py +32 -23
- flwr/proto/serverappio_pb2.pyi +45 -3
- flwr/proto/serverappio_pb2_grpc.py +138 -34
- flwr/proto/serverappio_pb2_grpc.pyi +54 -13
- flwr/proto/simulationio_pb2.py +12 -11
- flwr/proto/simulationio_pb2_grpc.py +35 -0
- flwr/proto/simulationio_pb2_grpc.pyi +14 -0
- flwr/server/__init__.py +2 -2
- flwr/server/app.py +69 -187
- flwr/server/client_manager.py +1 -1
- flwr/server/client_proxy.py +1 -1
- flwr/server/compat/__init__.py +1 -1
- flwr/server/compat/app.py +1 -1
- flwr/server/compat/app_utils.py +51 -29
- flwr/server/compat/legacy_context.py +1 -1
- flwr/server/criterion.py +1 -1
- flwr/server/fleet_event_log_interceptor.py +2 -2
- flwr/server/grid/grid.py +3 -3
- flwr/server/grid/grpc_grid.py +104 -34
- flwr/server/grid/inmemory_grid.py +5 -4
- flwr/server/history.py +1 -1
- flwr/server/run_serverapp.py +1 -1
- flwr/server/server.py +1 -1
- flwr/server/server_app.py +65 -58
- flwr/server/server_config.py +1 -1
- flwr/server/serverapp/__init__.py +1 -1
- flwr/server/serverapp/app.py +19 -1
- flwr/server/serverapp_components.py +1 -1
- flwr/server/strategy/__init__.py +1 -1
- flwr/server/strategy/aggregate.py +1 -1
- flwr/server/strategy/bulyan.py +2 -2
- flwr/server/strategy/dp_adaptive_clipping.py +17 -17
- flwr/server/strategy/dp_fixed_clipping.py +17 -17
- flwr/server/strategy/dpfedavg_adaptive.py +1 -1
- flwr/server/strategy/dpfedavg_fixed.py +1 -1
- flwr/server/strategy/fault_tolerant_fedavg.py +1 -1
- flwr/server/strategy/fedadagrad.py +1 -1
- flwr/server/strategy/fedadam.py +1 -1
- flwr/server/strategy/fedavg.py +1 -1
- flwr/server/strategy/fedavg_android.py +1 -1
- flwr/server/strategy/fedavgm.py +1 -1
- flwr/server/strategy/fedmedian.py +1 -1
- flwr/server/strategy/fedopt.py +1 -1
- flwr/server/strategy/fedprox.py +1 -1
- flwr/server/strategy/fedtrimmedavg.py +1 -1
- flwr/server/strategy/fedxgb_bagging.py +1 -1
- flwr/server/strategy/fedxgb_cyclic.py +1 -1
- flwr/server/strategy/fedxgb_nn_avg.py +3 -2
- flwr/server/strategy/fedyogi.py +1 -1
- flwr/server/strategy/krum.py +1 -1
- flwr/server/strategy/qfedavg.py +1 -1
- flwr/server/strategy/strategy.py +1 -1
- flwr/server/superlink/__init__.py +1 -1
- flwr/server/superlink/ffs/__init__.py +3 -1
- flwr/server/superlink/ffs/disk_ffs.py +1 -1
- flwr/server/superlink/ffs/ffs.py +1 -1
- flwr/server/superlink/ffs/ffs_factory.py +1 -1
- flwr/server/superlink/fleet/__init__.py +1 -1
- flwr/server/superlink/fleet/grpc_adapter/__init__.py +1 -1
- flwr/server/superlink/fleet/grpc_adapter/grpc_adapter_servicer.py +14 -4
- flwr/server/superlink/fleet/grpc_bidi/__init__.py +1 -1
- flwr/server/superlink/fleet/grpc_bidi/flower_service_servicer.py +1 -1
- flwr/server/superlink/fleet/grpc_bidi/grpc_bridge.py +1 -1
- flwr/server/superlink/fleet/grpc_bidi/grpc_client_proxy.py +1 -1
- flwr/server/superlink/fleet/grpc_bidi/grpc_server.py +13 -13
- flwr/server/superlink/fleet/grpc_rere/__init__.py +1 -1
- flwr/server/superlink/fleet/grpc_rere/fleet_servicer.py +102 -8
- flwr/server/superlink/fleet/grpc_rere/server_interceptor.py +1 -1
- flwr/server/superlink/fleet/message_handler/__init__.py +1 -1
- flwr/server/superlink/fleet/message_handler/message_handler.py +136 -19
- flwr/server/superlink/fleet/rest_rere/__init__.py +1 -1
- flwr/server/superlink/fleet/rest_rere/rest_api.py +73 -12
- flwr/server/superlink/fleet/vce/__init__.py +1 -1
- flwr/server/superlink/fleet/vce/backend/__init__.py +1 -1
- flwr/server/superlink/fleet/vce/backend/backend.py +1 -1
- flwr/server/superlink/fleet/vce/backend/raybackend.py +1 -1
- flwr/server/superlink/fleet/vce/vce_api.py +7 -4
- flwr/server/superlink/linkstate/__init__.py +1 -1
- flwr/server/superlink/linkstate/in_memory_linkstate.py +139 -44
- flwr/server/superlink/linkstate/linkstate.py +54 -21
- flwr/server/superlink/linkstate/linkstate_factory.py +1 -1
- flwr/server/superlink/linkstate/sqlite_linkstate.py +150 -56
- flwr/server/superlink/linkstate/utils.py +34 -30
- flwr/server/superlink/serverappio/serverappio_grpc.py +3 -0
- flwr/server/superlink/serverappio/serverappio_servicer.py +211 -57
- flwr/server/superlink/simulation/__init__.py +1 -1
- flwr/server/superlink/simulation/simulationio_grpc.py +1 -1
- flwr/server/superlink/simulation/simulationio_servicer.py +26 -2
- flwr/server/superlink/utils.py +45 -3
- flwr/server/typing.py +1 -1
- flwr/server/utils/__init__.py +1 -1
- flwr/server/utils/tensorboard.py +1 -1
- flwr/server/utils/validator.py +3 -3
- flwr/server/workflow/__init__.py +1 -1
- flwr/server/workflow/constant.py +1 -1
- flwr/server/workflow/default_workflows.py +1 -1
- flwr/server/workflow/secure_aggregation/__init__.py +1 -1
- flwr/server/workflow/secure_aggregation/secagg_workflow.py +1 -1
- flwr/server/workflow/secure_aggregation/secaggplus_workflow.py +1 -1
- flwr/serverapp/__init__.py +15 -0
- flwr/simulation/__init__.py +1 -1
- flwr/simulation/app.py +18 -1
- flwr/simulation/legacy_app.py +1 -1
- flwr/simulation/ray_transport/__init__.py +1 -1
- flwr/simulation/ray_transport/ray_actor.py +1 -1
- flwr/simulation/ray_transport/ray_client_proxy.py +1 -1
- flwr/simulation/ray_transport/utils.py +1 -1
- flwr/simulation/run_simulation.py +2 -2
- flwr/simulation/simulationio_connection.py +1 -1
- flwr/supercore/__init__.py +15 -0
- flwr/supercore/object_store/__init__.py +24 -0
- flwr/supercore/object_store/in_memory_object_store.py +229 -0
- flwr/supercore/object_store/object_store.py +192 -0
- flwr/supercore/object_store/object_store_factory.py +44 -0
- flwr/superexec/__init__.py +1 -1
- flwr/superexec/app.py +1 -1
- flwr/superexec/deployment.py +7 -3
- flwr/superexec/exec_event_log_interceptor.py +4 -4
- flwr/superexec/exec_grpc.py +8 -4
- flwr/superexec/exec_servicer.py +126 -24
- flwr/superexec/exec_user_auth_interceptor.py +38 -9
- flwr/superexec/executor.py +5 -1
- flwr/superexec/simulation.py +8 -2
- flwr/superlink/__init__.py +15 -0
- flwr/{client/supernode → supernode}/__init__.py +1 -8
- flwr/{client/nodestate/nodestate.py → supernode/cli/__init__.py} +8 -15
- flwr/{client/supernode/app.py → supernode/cli/flower_supernode.py} +4 -13
- flwr/supernode/cli/flwr_clientapp.py +81 -0
- flwr/{client → supernode}/nodestate/__init__.py +1 -1
- flwr/supernode/nodestate/in_memory_nodestate.py +190 -0
- flwr/supernode/nodestate/nodestate.py +212 -0
- flwr/{client → supernode}/nodestate/nodestate_factory.py +1 -1
- flwr/supernode/runtime/__init__.py +15 -0
- flwr/{client/clientapp/app.py → supernode/runtime/run_clientapp.py} +26 -57
- flwr/supernode/servicer/__init__.py +15 -0
- flwr/supernode/servicer/clientappio/__init__.py +24 -0
- flwr/{client/clientapp → supernode/servicer/clientappio}/clientappio_servicer.py +1 -1
- flwr/supernode/start_client_internal.py +491 -0
- {flwr-1.17.0.dist-info → flwr-1.19.0.dist-info}/METADATA +6 -5
- flwr-1.19.0.dist-info/RECORD +365 -0
- {flwr-1.17.0.dist-info → flwr-1.19.0.dist-info}/WHEEL +1 -1
- {flwr-1.17.0.dist-info → flwr-1.19.0.dist-info}/entry_points.txt +2 -2
- flwr/client/heartbeat.py +0 -74
- flwr/client/nodestate/in_memory_nodestate.py +0 -38
- flwr-1.17.0.dist-info/LICENSE +0 -202
- flwr-1.17.0.dist-info/RECORD +0 -333
flwr/proto/recorddict_pb2.py
CHANGED
|
@@ -14,23 +14,13 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x66lwr/proto/recorddict.proto\x12\nflwr.proto\"\x1a\n\nDoubleList\x12\x0c\n\x04vals\x18\x01 \x03(\x01\"\x18\n\x08SintList\x12\x0c\n\x04vals\x18\x01 \x03(\x12\"\x18\n\x08UintList\x12\x0c\n\x04vals\x18\x01 \x03(\x04\"\x18\n\x08\x42oolList\x12\x0c\n\x04vals\x18\x01 \x03(\x08\"\x1a\n\nStringList\x12\x0c\n\x04vals\x18\x01 \x03(\t\"\x19\n\tBytesList\x12\x0c\n\x04vals\x18\x01 \x03(\x0c\"B\n\x05\x41rray\x12\r\n\x05\x64type\x18\x01 \x01(\t\x12\r\n\x05shape\x18\x02 \x03(\x05\x12\r\n\x05stype\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\"\xd7\x01\n\x11MetricRecordValue\x12\x10\n\x06\x64ouble\x18\x01 \x01(\x01H\x00\x12\x10\n\x06sint64\x18\x02 \x01(\x12H\x00\x12\x10\n\x06uint64\x18\x03 \x01(\x04H\x00\x12-\n\x0b\x64ouble_list\x18\x15 \x01(\x0b\x32\x16.flwr.proto.DoubleListH\x00\x12)\n\tsint_list\x18\x16 \x01(\x0b\x32\x14.flwr.proto.SintListH\x00\x12)\n\tuint_list\x18\x17 \x01(\x0b\x32\x14.flwr.proto.UintListH\x00\x42\x07\n\x05value\"\x91\x03\n\x11\x43onfigRecordValue\x12\x10\n\x06\x64ouble\x18\x01 \x01(\x01H\x00\x12\x10\n\x06sint64\x18\x02 \x01(\x12H\x00\x12\x10\n\x06uint64\x18\x03 \x01(\x04H\x00\x12\x0e\n\x04\x62ool\x18\x04 \x01(\x08H\x00\x12\x10\n\x06string\x18\x05 \x01(\tH\x00\x12\x0f\n\x05\x62ytes\x18\x06 \x01(\x0cH\x00\x12-\n\x0b\x64ouble_list\x18\x15 \x01(\x0b\x32\x16.flwr.proto.DoubleListH\x00\x12)\n\tsint_list\x18\x16 \x01(\x0b\x32\x14.flwr.proto.SintListH\x00\x12)\n\tuint_list\x18\x17 \x01(\x0b\x32\x14.flwr.proto.UintListH\x00\x12)\n\tbool_list\x18\x18 \x01(\x0b\x32\x14.flwr.proto.BoolListH\x00\x12-\n\x0bstring_list\x18\x19 \x01(\x0b\x32\x16.flwr.proto.StringListH\x00\x12+\n\nbytes_list\x18\x1a \x01(\x0b\x32\x15.flwr.proto.BytesListH\x00\x42\x07\n\x05value\"
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x66lwr/proto/recorddict.proto\x12\nflwr.proto\"\x1a\n\nDoubleList\x12\x0c\n\x04vals\x18\x01 \x03(\x01\"\x18\n\x08SintList\x12\x0c\n\x04vals\x18\x01 \x03(\x12\"\x18\n\x08UintList\x12\x0c\n\x04vals\x18\x01 \x03(\x04\"\x18\n\x08\x42oolList\x12\x0c\n\x04vals\x18\x01 \x03(\x08\"\x1a\n\nStringList\x12\x0c\n\x04vals\x18\x01 \x03(\t\"\x19\n\tBytesList\x12\x0c\n\x04vals\x18\x01 \x03(\x0c\"B\n\x05\x41rray\x12\r\n\x05\x64type\x18\x01 \x01(\t\x12\r\n\x05shape\x18\x02 \x03(\x05\x12\r\n\x05stype\x18\x03 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\"\xd7\x01\n\x11MetricRecordValue\x12\x10\n\x06\x64ouble\x18\x01 \x01(\x01H\x00\x12\x10\n\x06sint64\x18\x02 \x01(\x12H\x00\x12\x10\n\x06uint64\x18\x03 \x01(\x04H\x00\x12-\n\x0b\x64ouble_list\x18\x15 \x01(\x0b\x32\x16.flwr.proto.DoubleListH\x00\x12)\n\tsint_list\x18\x16 \x01(\x0b\x32\x14.flwr.proto.SintListH\x00\x12)\n\tuint_list\x18\x17 \x01(\x0b\x32\x14.flwr.proto.UintListH\x00\x42\x07\n\x05value\"\x91\x03\n\x11\x43onfigRecordValue\x12\x10\n\x06\x64ouble\x18\x01 \x01(\x01H\x00\x12\x10\n\x06sint64\x18\x02 \x01(\x12H\x00\x12\x10\n\x06uint64\x18\x03 \x01(\x04H\x00\x12\x0e\n\x04\x62ool\x18\x04 \x01(\x08H\x00\x12\x10\n\x06string\x18\x05 \x01(\tH\x00\x12\x0f\n\x05\x62ytes\x18\x06 \x01(\x0cH\x00\x12-\n\x0b\x64ouble_list\x18\x15 \x01(\x0b\x32\x16.flwr.proto.DoubleListH\x00\x12)\n\tsint_list\x18\x16 \x01(\x0b\x32\x14.flwr.proto.SintListH\x00\x12)\n\tuint_list\x18\x17 \x01(\x0b\x32\x14.flwr.proto.UintListH\x00\x12)\n\tbool_list\x18\x18 \x01(\x0b\x32\x14.flwr.proto.BoolListH\x00\x12-\n\x0bstring_list\x18\x19 \x01(\x0b\x32\x16.flwr.proto.StringListH\x00\x12+\n\nbytes_list\x18\x1a \x01(\x0b\x32\x15.flwr.proto.BytesListH\x00\x42\x07\n\x05value\"q\n\x0b\x41rrayRecord\x12+\n\x05items\x18\x01 \x03(\x0b\x32\x1c.flwr.proto.ArrayRecord.Item\x1a\x35\n\x04Item\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.flwr.proto.Array\"\x7f\n\x0cMetricRecord\x12,\n\x05items\x18\x01 \x03(\x0b\x32\x1d.flwr.proto.MetricRecord.Item\x1a\x41\n\x04Item\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.flwr.proto.MetricRecordValue\"\x7f\n\x0c\x43onfigRecord\x12,\n\x05items\x18\x01 \x03(\x0b\x32\x1d.flwr.proto.ConfigRecord.Item\x1a\x41\n\x04Item\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.flwr.proto.ConfigRecordValue\"\xee\x01\n\nRecordDict\x12*\n\x05items\x18\x01 \x03(\x0b\x32\x1b.flwr.proto.RecordDict.Item\x1a\xb3\x01\n\x04Item\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x0c\x61rray_record\x18\x02 \x01(\x0b\x32\x17.flwr.proto.ArrayRecordH\x00\x12\x31\n\rmetric_record\x18\x03 \x01(\x0b\x32\x18.flwr.proto.MetricRecordH\x00\x12\x31\n\rconfig_record\x18\x04 \x01(\x0b\x32\x18.flwr.proto.ConfigRecordH\x00\x42\x07\n\x05valueb\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.recorddict_pb2', _globals)
|
|
22
22
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
23
|
DESCRIPTOR._options = None
|
|
24
|
-
_globals['_METRICRECORD_DATAENTRY']._options = None
|
|
25
|
-
_globals['_METRICRECORD_DATAENTRY']._serialized_options = b'8\001'
|
|
26
|
-
_globals['_CONFIGRECORD_DATAENTRY']._options = None
|
|
27
|
-
_globals['_CONFIGRECORD_DATAENTRY']._serialized_options = b'8\001'
|
|
28
|
-
_globals['_RECORDDICT_ARRAYSENTRY']._options = None
|
|
29
|
-
_globals['_RECORDDICT_ARRAYSENTRY']._serialized_options = b'8\001'
|
|
30
|
-
_globals['_RECORDDICT_METRICSENTRY']._options = None
|
|
31
|
-
_globals['_RECORDDICT_METRICSENTRY']._serialized_options = b'8\001'
|
|
32
|
-
_globals['_RECORDDICT_CONFIGSENTRY']._options = None
|
|
33
|
-
_globals['_RECORDDICT_CONFIGSENTRY']._serialized_options = b'8\001'
|
|
34
24
|
_globals['_DOUBLELIST']._serialized_start=43
|
|
35
25
|
_globals['_DOUBLELIST']._serialized_end=69
|
|
36
26
|
_globals['_SINTLIST']._serialized_start=71
|
|
@@ -50,21 +40,19 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
50
40
|
_globals['_CONFIGRECORDVALUE']._serialized_start=491
|
|
51
41
|
_globals['_CONFIGRECORDVALUE']._serialized_end=892
|
|
52
42
|
_globals['_ARRAYRECORD']._serialized_start=894
|
|
53
|
-
_globals['_ARRAYRECORD']._serialized_end=
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['_RECORDDICT_CONFIGSENTRY']._serialized_start=1575
|
|
69
|
-
_globals['_RECORDDICT_CONFIGSENTRY']._serialized_end=1647
|
|
43
|
+
_globals['_ARRAYRECORD']._serialized_end=1007
|
|
44
|
+
_globals['_ARRAYRECORD_ITEM']._serialized_start=954
|
|
45
|
+
_globals['_ARRAYRECORD_ITEM']._serialized_end=1007
|
|
46
|
+
_globals['_METRICRECORD']._serialized_start=1009
|
|
47
|
+
_globals['_METRICRECORD']._serialized_end=1136
|
|
48
|
+
_globals['_METRICRECORD_ITEM']._serialized_start=1071
|
|
49
|
+
_globals['_METRICRECORD_ITEM']._serialized_end=1136
|
|
50
|
+
_globals['_CONFIGRECORD']._serialized_start=1138
|
|
51
|
+
_globals['_CONFIGRECORD']._serialized_end=1265
|
|
52
|
+
_globals['_CONFIGRECORD_ITEM']._serialized_start=1200
|
|
53
|
+
_globals['_CONFIGRECORD_ITEM']._serialized_end=1265
|
|
54
|
+
_globals['_RECORDDICT']._serialized_start=1268
|
|
55
|
+
_globals['_RECORDDICT']._serialized_end=1506
|
|
56
|
+
_globals['_RECORDDICT_ITEM']._serialized_start=1327
|
|
57
|
+
_globals['_RECORDDICT_ITEM']._serialized_end=1506
|
|
70
58
|
# @@protoc_insertion_point(module_scope)
|
flwr/proto/recorddict_pb2.pyi
CHANGED
|
@@ -197,23 +197,34 @@ global___ConfigRecordValue = ConfigRecordValue
|
|
|
197
197
|
|
|
198
198
|
class ArrayRecord(google.protobuf.message.Message):
|
|
199
199
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
200
|
+
class Item(google.protobuf.message.Message):
|
|
201
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
202
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
203
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
204
|
+
key: typing.Text
|
|
205
|
+
@property
|
|
206
|
+
def value(self) -> global___Array: ...
|
|
207
|
+
def __init__(self,
|
|
208
|
+
*,
|
|
209
|
+
key: typing.Text = ...,
|
|
210
|
+
value: typing.Optional[global___Array] = ...,
|
|
211
|
+
) -> None: ...
|
|
212
|
+
def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
|
|
213
|
+
def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...
|
|
214
|
+
|
|
215
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
204
216
|
@property
|
|
205
|
-
def
|
|
217
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ArrayRecord.Item]: ...
|
|
206
218
|
def __init__(self,
|
|
207
219
|
*,
|
|
208
|
-
|
|
209
|
-
data_values: typing.Optional[typing.Iterable[global___Array]] = ...,
|
|
220
|
+
items: typing.Optional[typing.Iterable[global___ArrayRecord.Item]] = ...,
|
|
210
221
|
) -> None: ...
|
|
211
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
222
|
+
def ClearField(self, field_name: typing_extensions.Literal["items",b"items"]) -> None: ...
|
|
212
223
|
global___ArrayRecord = ArrayRecord
|
|
213
224
|
|
|
214
225
|
class MetricRecord(google.protobuf.message.Message):
|
|
215
226
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
216
|
-
class
|
|
227
|
+
class Item(google.protobuf.message.Message):
|
|
217
228
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
218
229
|
KEY_FIELD_NUMBER: builtins.int
|
|
219
230
|
VALUE_FIELD_NUMBER: builtins.int
|
|
@@ -228,19 +239,19 @@ class MetricRecord(google.protobuf.message.Message):
|
|
|
228
239
|
def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
|
|
229
240
|
def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...
|
|
230
241
|
|
|
231
|
-
|
|
242
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
232
243
|
@property
|
|
233
|
-
def
|
|
244
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MetricRecord.Item]: ...
|
|
234
245
|
def __init__(self,
|
|
235
246
|
*,
|
|
236
|
-
|
|
247
|
+
items: typing.Optional[typing.Iterable[global___MetricRecord.Item]] = ...,
|
|
237
248
|
) -> None: ...
|
|
238
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
249
|
+
def ClearField(self, field_name: typing_extensions.Literal["items",b"items"]) -> None: ...
|
|
239
250
|
global___MetricRecord = MetricRecord
|
|
240
251
|
|
|
241
252
|
class ConfigRecord(google.protobuf.message.Message):
|
|
242
253
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
243
|
-
class
|
|
254
|
+
class Item(google.protobuf.message.Message):
|
|
244
255
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
245
256
|
KEY_FIELD_NUMBER: builtins.int
|
|
246
257
|
VALUE_FIELD_NUMBER: builtins.int
|
|
@@ -255,77 +266,48 @@ class ConfigRecord(google.protobuf.message.Message):
|
|
|
255
266
|
def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
|
|
256
267
|
def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...
|
|
257
268
|
|
|
258
|
-
|
|
269
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
259
270
|
@property
|
|
260
|
-
def
|
|
271
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ConfigRecord.Item]: ...
|
|
261
272
|
def __init__(self,
|
|
262
273
|
*,
|
|
263
|
-
|
|
274
|
+
items: typing.Optional[typing.Iterable[global___ConfigRecord.Item]] = ...,
|
|
264
275
|
) -> None: ...
|
|
265
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
276
|
+
def ClearField(self, field_name: typing_extensions.Literal["items",b"items"]) -> None: ...
|
|
266
277
|
global___ConfigRecord = ConfigRecord
|
|
267
278
|
|
|
268
279
|
class RecordDict(google.protobuf.message.Message):
|
|
269
280
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
270
|
-
class
|
|
281
|
+
class Item(google.protobuf.message.Message):
|
|
271
282
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
272
283
|
KEY_FIELD_NUMBER: builtins.int
|
|
273
|
-
|
|
284
|
+
ARRAY_RECORD_FIELD_NUMBER: builtins.int
|
|
285
|
+
METRIC_RECORD_FIELD_NUMBER: builtins.int
|
|
286
|
+
CONFIG_RECORD_FIELD_NUMBER: builtins.int
|
|
274
287
|
key: typing.Text
|
|
275
288
|
@property
|
|
276
|
-
def
|
|
277
|
-
def __init__(self,
|
|
278
|
-
*,
|
|
279
|
-
key: typing.Text = ...,
|
|
280
|
-
value: typing.Optional[global___ArrayRecord] = ...,
|
|
281
|
-
) -> None: ...
|
|
282
|
-
def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
|
|
283
|
-
def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...
|
|
284
|
-
|
|
285
|
-
class MetricsEntry(google.protobuf.message.Message):
|
|
286
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
287
|
-
KEY_FIELD_NUMBER: builtins.int
|
|
288
|
-
VALUE_FIELD_NUMBER: builtins.int
|
|
289
|
-
key: typing.Text
|
|
289
|
+
def array_record(self) -> global___ArrayRecord: ...
|
|
290
290
|
@property
|
|
291
|
-
def
|
|
292
|
-
def __init__(self,
|
|
293
|
-
*,
|
|
294
|
-
key: typing.Text = ...,
|
|
295
|
-
value: typing.Optional[global___MetricRecord] = ...,
|
|
296
|
-
) -> None: ...
|
|
297
|
-
def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
|
|
298
|
-
def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...
|
|
299
|
-
|
|
300
|
-
class ConfigsEntry(google.protobuf.message.Message):
|
|
301
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
302
|
-
KEY_FIELD_NUMBER: builtins.int
|
|
303
|
-
VALUE_FIELD_NUMBER: builtins.int
|
|
304
|
-
key: typing.Text
|
|
291
|
+
def metric_record(self) -> global___MetricRecord: ...
|
|
305
292
|
@property
|
|
306
|
-
def
|
|
293
|
+
def config_record(self) -> global___ConfigRecord: ...
|
|
307
294
|
def __init__(self,
|
|
308
295
|
*,
|
|
309
296
|
key: typing.Text = ...,
|
|
310
|
-
|
|
297
|
+
array_record: typing.Optional[global___ArrayRecord] = ...,
|
|
298
|
+
metric_record: typing.Optional[global___MetricRecord] = ...,
|
|
299
|
+
config_record: typing.Optional[global___ConfigRecord] = ...,
|
|
311
300
|
) -> None: ...
|
|
312
|
-
def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
|
|
313
|
-
def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...
|
|
301
|
+
def HasField(self, field_name: typing_extensions.Literal["array_record",b"array_record","config_record",b"config_record","metric_record",b"metric_record","value",b"value"]) -> builtins.bool: ...
|
|
302
|
+
def ClearField(self, field_name: typing_extensions.Literal["array_record",b"array_record","config_record",b"config_record","key",b"key","metric_record",b"metric_record","value",b"value"]) -> None: ...
|
|
303
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["value",b"value"]) -> typing.Optional[typing_extensions.Literal["array_record","metric_record","config_record"]]: ...
|
|
314
304
|
|
|
315
|
-
|
|
316
|
-
METRICS_FIELD_NUMBER: builtins.int
|
|
317
|
-
CONFIGS_FIELD_NUMBER: builtins.int
|
|
318
|
-
@property
|
|
319
|
-
def arrays(self) -> google.protobuf.internal.containers.MessageMap[typing.Text, global___ArrayRecord]: ...
|
|
320
|
-
@property
|
|
321
|
-
def metrics(self) -> google.protobuf.internal.containers.MessageMap[typing.Text, global___MetricRecord]: ...
|
|
305
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
322
306
|
@property
|
|
323
|
-
def
|
|
307
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RecordDict.Item]: ...
|
|
324
308
|
def __init__(self,
|
|
325
309
|
*,
|
|
326
|
-
|
|
327
|
-
metrics: typing.Optional[typing.Mapping[typing.Text, global___MetricRecord]] = ...,
|
|
328
|
-
configs: typing.Optional[typing.Mapping[typing.Text, global___ConfigRecord]] = ...,
|
|
310
|
+
items: typing.Optional[typing.Iterable[global___RecordDict.Item]] = ...,
|
|
329
311
|
) -> None: ...
|
|
330
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
312
|
+
def ClearField(self, field_name: typing_extensions.Literal["items",b"items"]) -> None: ...
|
|
331
313
|
global___RecordDict = RecordDict
|
flwr/proto/run_pb2.py
CHANGED
|
@@ -18,7 +18,7 @@ from flwr.proto import recorddict_pb2 as flwr_dot_proto_dot_recorddict__pb2
|
|
|
18
18
|
from flwr.proto import transport_pb2 as flwr_dot_proto_dot_transport__pb2
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x66lwr/proto/run.proto\x12\nflwr.proto\x1a\x14\x66lwr/proto/fab.proto\x1a\x15\x66lwr/proto/node.proto\x1a\x1b\x66lwr/proto/recorddict.proto\x1a\x1a\x66lwr/proto/transport.proto\"\
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x66lwr/proto/run.proto\x12\nflwr.proto\x1a\x14\x66lwr/proto/fab.proto\x1a\x15\x66lwr/proto/node.proto\x1a\x1b\x66lwr/proto/recorddict.proto\x1a\x1a\x66lwr/proto/transport.proto\"\xe0\x02\n\x03Run\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\x12\x0e\n\x06\x66\x61\x62_id\x18\x02 \x01(\t\x12\x13\n\x0b\x66\x61\x62_version\x18\x03 \x01(\t\x12<\n\x0foverride_config\x18\x04 \x03(\x0b\x32#.flwr.proto.Run.OverrideConfigEntry\x12\x10\n\x08\x66\x61\x62_hash\x18\x05 \x01(\t\x12\x12\n\npending_at\x18\x06 \x01(\t\x12\x13\n\x0bstarting_at\x18\x07 \x01(\t\x12\x12\n\nrunning_at\x18\x08 \x01(\t\x12\x13\n\x0b\x66inished_at\x18\t \x01(\t\x12%\n\x06status\x18\n \x01(\x0b\x32\x15.flwr.proto.RunStatus\x12\x10\n\x08\x66lwr_aid\x18\x0b \x01(\t\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\"@\n\tRunStatus\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x12\n\nsub_status\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\t\"?\n\rGetRunRequest\x12\x1e\n\x04node\x18\x01 \x01(\x0b\x32\x10.flwr.proto.Node\x12\x0e\n\x06run_id\x18\x02 \x01(\x04\".\n\x0eGetRunResponse\x12\x1c\n\x03run\x18\x01 \x01(\x0b\x32\x0f.flwr.proto.Run\"S\n\x16UpdateRunStatusRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\x12)\n\nrun_status\x18\x02 \x01(\x0b\x32\x15.flwr.proto.RunStatus\"\x19\n\x17UpdateRunStatusResponse\"F\n\x13GetRunStatusRequest\x12\x1e\n\x04node\x18\x01 \x01(\x0b\x32\x10.flwr.proto.Node\x12\x0f\n\x07run_ids\x18\x02 \x03(\x04\"\xb1\x01\n\x14GetRunStatusResponse\x12L\n\x0frun_status_dict\x18\x01 \x03(\x0b\x32\x33.flwr.proto.GetRunStatusResponse.RunStatusDictEntry\x1aK\n\x12RunStatusDictEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.flwr.proto.RunStatus:\x02\x38\x01\"-\n\x1bGetFederationOptionsRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\x04\"T\n\x1cGetFederationOptionsResponse\x12\x34\n\x12\x66\x65\x64\x65ration_options\x18\x01 \x01(\x0b\x32\x18.flwr.proto.ConfigRecordb\x06proto3')
|
|
22
22
|
|
|
23
23
|
_globals = globals()
|
|
24
24
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -27,38 +27,30 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
27
27
|
DESCRIPTOR._options = None
|
|
28
28
|
_globals['_RUN_OVERRIDECONFIGENTRY']._options = None
|
|
29
29
|
_globals['_RUN_OVERRIDECONFIGENTRY']._serialized_options = b'8\001'
|
|
30
|
-
_globals['_CREATERUNREQUEST_OVERRIDECONFIGENTRY']._options = None
|
|
31
|
-
_globals['_CREATERUNREQUEST_OVERRIDECONFIGENTRY']._serialized_options = b'8\001'
|
|
32
30
|
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._options = None
|
|
33
31
|
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_options = b'8\001'
|
|
34
32
|
_globals['_RUN']._serialized_start=139
|
|
35
|
-
_globals['_RUN']._serialized_end=
|
|
36
|
-
_globals['_RUN_OVERRIDECONFIGENTRY']._serialized_start=
|
|
37
|
-
_globals['_RUN_OVERRIDECONFIGENTRY']._serialized_end=
|
|
38
|
-
_globals['_RUNSTATUS']._serialized_start=
|
|
39
|
-
_globals['_RUNSTATUS']._serialized_end=
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
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['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_start=1216
|
|
59
|
-
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_end=1291
|
|
60
|
-
_globals['_GETFEDERATIONOPTIONSREQUEST']._serialized_start=1293
|
|
61
|
-
_globals['_GETFEDERATIONOPTIONSREQUEST']._serialized_end=1338
|
|
62
|
-
_globals['_GETFEDERATIONOPTIONSRESPONSE']._serialized_start=1340
|
|
63
|
-
_globals['_GETFEDERATIONOPTIONSRESPONSE']._serialized_end=1424
|
|
33
|
+
_globals['_RUN']._serialized_end=491
|
|
34
|
+
_globals['_RUN_OVERRIDECONFIGENTRY']._serialized_start=418
|
|
35
|
+
_globals['_RUN_OVERRIDECONFIGENTRY']._serialized_end=491
|
|
36
|
+
_globals['_RUNSTATUS']._serialized_start=493
|
|
37
|
+
_globals['_RUNSTATUS']._serialized_end=557
|
|
38
|
+
_globals['_GETRUNREQUEST']._serialized_start=559
|
|
39
|
+
_globals['_GETRUNREQUEST']._serialized_end=622
|
|
40
|
+
_globals['_GETRUNRESPONSE']._serialized_start=624
|
|
41
|
+
_globals['_GETRUNRESPONSE']._serialized_end=670
|
|
42
|
+
_globals['_UPDATERUNSTATUSREQUEST']._serialized_start=672
|
|
43
|
+
_globals['_UPDATERUNSTATUSREQUEST']._serialized_end=755
|
|
44
|
+
_globals['_UPDATERUNSTATUSRESPONSE']._serialized_start=757
|
|
45
|
+
_globals['_UPDATERUNSTATUSRESPONSE']._serialized_end=782
|
|
46
|
+
_globals['_GETRUNSTATUSREQUEST']._serialized_start=784
|
|
47
|
+
_globals['_GETRUNSTATUSREQUEST']._serialized_end=854
|
|
48
|
+
_globals['_GETRUNSTATUSRESPONSE']._serialized_start=857
|
|
49
|
+
_globals['_GETRUNSTATUSRESPONSE']._serialized_end=1034
|
|
50
|
+
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_start=959
|
|
51
|
+
_globals['_GETRUNSTATUSRESPONSE_RUNSTATUSDICTENTRY']._serialized_end=1034
|
|
52
|
+
_globals['_GETFEDERATIONOPTIONSREQUEST']._serialized_start=1036
|
|
53
|
+
_globals['_GETFEDERATIONOPTIONSREQUEST']._serialized_end=1081
|
|
54
|
+
_globals['_GETFEDERATIONOPTIONSRESPONSE']._serialized_start=1083
|
|
55
|
+
_globals['_GETFEDERATIONOPTIONSRESPONSE']._serialized_end=1167
|
|
64
56
|
# @@protoc_insertion_point(module_scope)
|
flwr/proto/run_pb2.pyi
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
import builtins
|
|
6
|
-
import flwr.proto.fab_pb2
|
|
7
6
|
import flwr.proto.node_pb2
|
|
8
7
|
import flwr.proto.recorddict_pb2
|
|
9
8
|
import flwr.proto.transport_pb2
|
|
@@ -42,6 +41,7 @@ class Run(google.protobuf.message.Message):
|
|
|
42
41
|
RUNNING_AT_FIELD_NUMBER: builtins.int
|
|
43
42
|
FINISHED_AT_FIELD_NUMBER: builtins.int
|
|
44
43
|
STATUS_FIELD_NUMBER: builtins.int
|
|
44
|
+
FLWR_AID_FIELD_NUMBER: builtins.int
|
|
45
45
|
run_id: builtins.int
|
|
46
46
|
fab_id: typing.Text
|
|
47
47
|
fab_version: typing.Text
|
|
@@ -54,6 +54,7 @@ class Run(google.protobuf.message.Message):
|
|
|
54
54
|
finished_at: typing.Text
|
|
55
55
|
@property
|
|
56
56
|
def status(self) -> global___RunStatus: ...
|
|
57
|
+
flwr_aid: typing.Text
|
|
57
58
|
def __init__(self,
|
|
58
59
|
*,
|
|
59
60
|
run_id: builtins.int = ...,
|
|
@@ -66,9 +67,10 @@ class Run(google.protobuf.message.Message):
|
|
|
66
67
|
running_at: typing.Text = ...,
|
|
67
68
|
finished_at: typing.Text = ...,
|
|
68
69
|
status: typing.Optional[global___RunStatus] = ...,
|
|
70
|
+
flwr_aid: typing.Text = ...,
|
|
69
71
|
) -> None: ...
|
|
70
72
|
def HasField(self, field_name: typing_extensions.Literal["status",b"status"]) -> builtins.bool: ...
|
|
71
|
-
def ClearField(self, field_name: typing_extensions.Literal["fab_hash",b"fab_hash","fab_id",b"fab_id","fab_version",b"fab_version","finished_at",b"finished_at","override_config",b"override_config","pending_at",b"pending_at","run_id",b"run_id","running_at",b"running_at","starting_at",b"starting_at","status",b"status"]) -> None: ...
|
|
73
|
+
def ClearField(self, field_name: typing_extensions.Literal["fab_hash",b"fab_hash","fab_id",b"fab_id","fab_version",b"fab_version","finished_at",b"finished_at","flwr_aid",b"flwr_aid","override_config",b"override_config","pending_at",b"pending_at","run_id",b"run_id","running_at",b"running_at","starting_at",b"starting_at","status",b"status"]) -> None: ...
|
|
72
74
|
global___Run = Run
|
|
73
75
|
|
|
74
76
|
class RunStatus(google.protobuf.message.Message):
|
|
@@ -94,56 +96,6 @@ class RunStatus(google.protobuf.message.Message):
|
|
|
94
96
|
def ClearField(self, field_name: typing_extensions.Literal["details",b"details","status",b"status","sub_status",b"sub_status"]) -> None: ...
|
|
95
97
|
global___RunStatus = RunStatus
|
|
96
98
|
|
|
97
|
-
class CreateRunRequest(google.protobuf.message.Message):
|
|
98
|
-
"""CreateRun"""
|
|
99
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
100
|
-
class OverrideConfigEntry(google.protobuf.message.Message):
|
|
101
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
102
|
-
KEY_FIELD_NUMBER: builtins.int
|
|
103
|
-
VALUE_FIELD_NUMBER: builtins.int
|
|
104
|
-
key: typing.Text
|
|
105
|
-
@property
|
|
106
|
-
def value(self) -> flwr.proto.transport_pb2.Scalar: ...
|
|
107
|
-
def __init__(self,
|
|
108
|
-
*,
|
|
109
|
-
key: typing.Text = ...,
|
|
110
|
-
value: typing.Optional[flwr.proto.transport_pb2.Scalar] = ...,
|
|
111
|
-
) -> None: ...
|
|
112
|
-
def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
|
|
113
|
-
def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...
|
|
114
|
-
|
|
115
|
-
FAB_ID_FIELD_NUMBER: builtins.int
|
|
116
|
-
FAB_VERSION_FIELD_NUMBER: builtins.int
|
|
117
|
-
OVERRIDE_CONFIG_FIELD_NUMBER: builtins.int
|
|
118
|
-
FAB_FIELD_NUMBER: builtins.int
|
|
119
|
-
fab_id: typing.Text
|
|
120
|
-
fab_version: typing.Text
|
|
121
|
-
@property
|
|
122
|
-
def override_config(self) -> google.protobuf.internal.containers.MessageMap[typing.Text, flwr.proto.transport_pb2.Scalar]: ...
|
|
123
|
-
@property
|
|
124
|
-
def fab(self) -> flwr.proto.fab_pb2.Fab: ...
|
|
125
|
-
def __init__(self,
|
|
126
|
-
*,
|
|
127
|
-
fab_id: typing.Text = ...,
|
|
128
|
-
fab_version: typing.Text = ...,
|
|
129
|
-
override_config: typing.Optional[typing.Mapping[typing.Text, flwr.proto.transport_pb2.Scalar]] = ...,
|
|
130
|
-
fab: typing.Optional[flwr.proto.fab_pb2.Fab] = ...,
|
|
131
|
-
) -> None: ...
|
|
132
|
-
def HasField(self, field_name: typing_extensions.Literal["fab",b"fab"]) -> builtins.bool: ...
|
|
133
|
-
def ClearField(self, field_name: typing_extensions.Literal["fab",b"fab","fab_id",b"fab_id","fab_version",b"fab_version","override_config",b"override_config"]) -> None: ...
|
|
134
|
-
global___CreateRunRequest = CreateRunRequest
|
|
135
|
-
|
|
136
|
-
class CreateRunResponse(google.protobuf.message.Message):
|
|
137
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
138
|
-
RUN_ID_FIELD_NUMBER: builtins.int
|
|
139
|
-
run_id: builtins.int
|
|
140
|
-
def __init__(self,
|
|
141
|
-
*,
|
|
142
|
-
run_id: builtins.int = ...,
|
|
143
|
-
) -> None: ...
|
|
144
|
-
def ClearField(self, field_name: typing_extensions.Literal["run_id",b"run_id"]) -> None: ...
|
|
145
|
-
global___CreateRunResponse = CreateRunResponse
|
|
146
|
-
|
|
147
99
|
class GetRunRequest(google.protobuf.message.Message):
|
|
148
100
|
"""GetRun"""
|
|
149
101
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
flwr/proto/serverappio_pb2.py
CHANGED
|
@@ -12,6 +12,7 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
from flwr.proto import heartbeat_pb2 as flwr_dot_proto_dot_heartbeat__pb2
|
|
15
16
|
from flwr.proto import log_pb2 as flwr_dot_proto_dot_log__pb2
|
|
16
17
|
from flwr.proto import node_pb2 as flwr_dot_proto_dot_node__pb2
|
|
17
18
|
from flwr.proto import message_pb2 as flwr_dot_proto_dot_message__pb2
|
|
@@ -19,33 +20,41 @@ from flwr.proto import run_pb2 as flwr_dot_proto_dot_run__pb2
|
|
|
19
20
|
from flwr.proto import fab_pb2 as flwr_dot_proto_dot_fab__pb2
|
|
20
21
|
|
|
21
22
|
|
|
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\"
|
|
23
|
+
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\"!\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\"\x8a\x01\n\x16PushInsMessagesRequest\x12*\n\rmessages_list\x18\x01 \x03(\x0b\x32\x13.flwr.proto.Message\x12\x0e\n\x06run_id\x18\x02 \x01(\x04\x12\x34\n\x14message_object_trees\x18\x03 \x03(\x0b\x32\x16.flwr.proto.ObjectTree\"\xcc\x01\n\x17PushInsMessagesResponse\x12\x13\n\x0bmessage_ids\x18\x01 \x03(\t\x12O\n\x0fobjects_to_push\x18\x02 \x03(\x0b\x32\x36.flwr.proto.PushInsMessagesResponse.ObjectsToPushEntry\x1aK\n\x12ObjectsToPushEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.flwr.proto.ObjectIDs:\x02\x38\x01\"=\n\x16PullResMessagesRequest\x12\x13\n\x0bmessage_ids\x18\x01 \x03(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\x04\"\xe3\x01\n\x17PullResMessagesResponse\x12*\n\rmessages_list\x18\x01 \x03(\x0b\x32\x13.flwr.proto.Message\x12O\n\x0fobjects_to_pull\x18\x02 \x03(\x0b\x32\x36.flwr.proto.PullResMessagesResponse.ObjectsToPullEntry\x1aK\n\x12ObjectsToPullEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.flwr.proto.ObjectIDs:\x02\x38\x01\"\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\xd7\t\n\x0bServerAppIo\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\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')
|
|
23
24
|
|
|
24
25
|
_globals = globals()
|
|
25
26
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
26
27
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flwr.proto.serverappio_pb2', _globals)
|
|
27
28
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
28
29
|
DESCRIPTOR._options = None
|
|
29
|
-
_globals['
|
|
30
|
-
_globals['
|
|
31
|
-
_globals['
|
|
32
|
-
_globals['
|
|
33
|
-
_globals['
|
|
34
|
-
_globals['
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
30
|
+
_globals['_PUSHINSMESSAGESRESPONSE_OBJECTSTOPUSHENTRY']._options = None
|
|
31
|
+
_globals['_PUSHINSMESSAGESRESPONSE_OBJECTSTOPUSHENTRY']._serialized_options = b'8\001'
|
|
32
|
+
_globals['_PULLRESMESSAGESRESPONSE_OBJECTSTOPULLENTRY']._options = None
|
|
33
|
+
_globals['_PULLRESMESSAGESRESPONSE_OBJECTSTOPULLENTRY']._serialized_options = b'8\001'
|
|
34
|
+
_globals['_GETNODESREQUEST']._serialized_start=187
|
|
35
|
+
_globals['_GETNODESREQUEST']._serialized_end=220
|
|
36
|
+
_globals['_GETNODESRESPONSE']._serialized_start=222
|
|
37
|
+
_globals['_GETNODESRESPONSE']._serialized_end=273
|
|
38
|
+
_globals['_PUSHINSMESSAGESREQUEST']._serialized_start=276
|
|
39
|
+
_globals['_PUSHINSMESSAGESREQUEST']._serialized_end=414
|
|
40
|
+
_globals['_PUSHINSMESSAGESRESPONSE']._serialized_start=417
|
|
41
|
+
_globals['_PUSHINSMESSAGESRESPONSE']._serialized_end=621
|
|
42
|
+
_globals['_PUSHINSMESSAGESRESPONSE_OBJECTSTOPUSHENTRY']._serialized_start=546
|
|
43
|
+
_globals['_PUSHINSMESSAGESRESPONSE_OBJECTSTOPUSHENTRY']._serialized_end=621
|
|
44
|
+
_globals['_PULLRESMESSAGESREQUEST']._serialized_start=623
|
|
45
|
+
_globals['_PULLRESMESSAGESREQUEST']._serialized_end=684
|
|
46
|
+
_globals['_PULLRESMESSAGESRESPONSE']._serialized_start=687
|
|
47
|
+
_globals['_PULLRESMESSAGESRESPONSE']._serialized_end=914
|
|
48
|
+
_globals['_PULLRESMESSAGESRESPONSE_OBJECTSTOPULLENTRY']._serialized_start=839
|
|
49
|
+
_globals['_PULLRESMESSAGESRESPONSE_OBJECTSTOPULLENTRY']._serialized_end=914
|
|
50
|
+
_globals['_PULLSERVERAPPINPUTSREQUEST']._serialized_start=916
|
|
51
|
+
_globals['_PULLSERVERAPPINPUTSREQUEST']._serialized_end=944
|
|
52
|
+
_globals['_PULLSERVERAPPINPUTSRESPONSE']._serialized_start=946
|
|
53
|
+
_globals['_PULLSERVERAPPINPUTSRESPONSE']._serialized_end=1073
|
|
54
|
+
_globals['_PUSHSERVERAPPOUTPUTSREQUEST']._serialized_start=1075
|
|
55
|
+
_globals['_PUSHSERVERAPPOUTPUTSREQUEST']._serialized_end=1158
|
|
56
|
+
_globals['_PUSHSERVERAPPOUTPUTSRESPONSE']._serialized_start=1160
|
|
57
|
+
_globals['_PUSHSERVERAPPOUTPUTSRESPONSE']._serialized_end=1190
|
|
58
|
+
_globals['_SERVERAPPIO']._serialized_start=1193
|
|
59
|
+
_globals['_SERVERAPPIO']._serialized_end=2432
|
|
51
60
|
# @@protoc_insertion_point(module_scope)
|
flwr/proto/serverappio_pb2.pyi
CHANGED
|
@@ -44,27 +44,50 @@ class PushInsMessagesRequest(google.protobuf.message.Message):
|
|
|
44
44
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
45
45
|
MESSAGES_LIST_FIELD_NUMBER: builtins.int
|
|
46
46
|
RUN_ID_FIELD_NUMBER: builtins.int
|
|
47
|
+
MESSAGE_OBJECT_TREES_FIELD_NUMBER: builtins.int
|
|
47
48
|
@property
|
|
48
49
|
def messages_list(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[flwr.proto.message_pb2.Message]: ...
|
|
49
50
|
run_id: builtins.int
|
|
51
|
+
@property
|
|
52
|
+
def message_object_trees(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[flwr.proto.message_pb2.ObjectTree]: ...
|
|
50
53
|
def __init__(self,
|
|
51
54
|
*,
|
|
52
55
|
messages_list: typing.Optional[typing.Iterable[flwr.proto.message_pb2.Message]] = ...,
|
|
53
56
|
run_id: builtins.int = ...,
|
|
57
|
+
message_object_trees: typing.Optional[typing.Iterable[flwr.proto.message_pb2.ObjectTree]] = ...,
|
|
54
58
|
) -> None: ...
|
|
55
|
-
def ClearField(self, field_name: typing_extensions.Literal["messages_list",b"messages_list","run_id",b"run_id"]) -> None: ...
|
|
59
|
+
def ClearField(self, field_name: typing_extensions.Literal["message_object_trees",b"message_object_trees","messages_list",b"messages_list","run_id",b"run_id"]) -> None: ...
|
|
56
60
|
global___PushInsMessagesRequest = PushInsMessagesRequest
|
|
57
61
|
|
|
58
62
|
class PushInsMessagesResponse(google.protobuf.message.Message):
|
|
59
63
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
64
|
+
class ObjectsToPushEntry(google.protobuf.message.Message):
|
|
65
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
66
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
67
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
68
|
+
key: typing.Text
|
|
69
|
+
@property
|
|
70
|
+
def value(self) -> flwr.proto.message_pb2.ObjectIDs: ...
|
|
71
|
+
def __init__(self,
|
|
72
|
+
*,
|
|
73
|
+
key: typing.Text = ...,
|
|
74
|
+
value: typing.Optional[flwr.proto.message_pb2.ObjectIDs] = ...,
|
|
75
|
+
) -> None: ...
|
|
76
|
+
def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
|
|
77
|
+
def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...
|
|
78
|
+
|
|
60
79
|
MESSAGE_IDS_FIELD_NUMBER: builtins.int
|
|
80
|
+
OBJECTS_TO_PUSH_FIELD_NUMBER: builtins.int
|
|
61
81
|
@property
|
|
62
82
|
def message_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
83
|
+
@property
|
|
84
|
+
def objects_to_push(self) -> google.protobuf.internal.containers.MessageMap[typing.Text, flwr.proto.message_pb2.ObjectIDs]: ...
|
|
63
85
|
def __init__(self,
|
|
64
86
|
*,
|
|
65
87
|
message_ids: typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
88
|
+
objects_to_push: typing.Optional[typing.Mapping[typing.Text, flwr.proto.message_pb2.ObjectIDs]] = ...,
|
|
66
89
|
) -> None: ...
|
|
67
|
-
def ClearField(self, field_name: typing_extensions.Literal["message_ids",b"message_ids"]) -> None: ...
|
|
90
|
+
def ClearField(self, field_name: typing_extensions.Literal["message_ids",b"message_ids","objects_to_push",b"objects_to_push"]) -> None: ...
|
|
68
91
|
global___PushInsMessagesResponse = PushInsMessagesResponse
|
|
69
92
|
|
|
70
93
|
class PullResMessagesRequest(google.protobuf.message.Message):
|
|
@@ -85,14 +108,33 @@ global___PullResMessagesRequest = PullResMessagesRequest
|
|
|
85
108
|
|
|
86
109
|
class PullResMessagesResponse(google.protobuf.message.Message):
|
|
87
110
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
111
|
+
class ObjectsToPullEntry(google.protobuf.message.Message):
|
|
112
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
113
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
114
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
115
|
+
key: typing.Text
|
|
116
|
+
@property
|
|
117
|
+
def value(self) -> flwr.proto.message_pb2.ObjectIDs: ...
|
|
118
|
+
def __init__(self,
|
|
119
|
+
*,
|
|
120
|
+
key: typing.Text = ...,
|
|
121
|
+
value: typing.Optional[flwr.proto.message_pb2.ObjectIDs] = ...,
|
|
122
|
+
) -> None: ...
|
|
123
|
+
def HasField(self, field_name: typing_extensions.Literal["value",b"value"]) -> builtins.bool: ...
|
|
124
|
+
def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...
|
|
125
|
+
|
|
88
126
|
MESSAGES_LIST_FIELD_NUMBER: builtins.int
|
|
127
|
+
OBJECTS_TO_PULL_FIELD_NUMBER: builtins.int
|
|
89
128
|
@property
|
|
90
129
|
def messages_list(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[flwr.proto.message_pb2.Message]: ...
|
|
130
|
+
@property
|
|
131
|
+
def objects_to_pull(self) -> google.protobuf.internal.containers.MessageMap[typing.Text, flwr.proto.message_pb2.ObjectIDs]: ...
|
|
91
132
|
def __init__(self,
|
|
92
133
|
*,
|
|
93
134
|
messages_list: typing.Optional[typing.Iterable[flwr.proto.message_pb2.Message]] = ...,
|
|
135
|
+
objects_to_pull: typing.Optional[typing.Mapping[typing.Text, flwr.proto.message_pb2.ObjectIDs]] = ...,
|
|
94
136
|
) -> None: ...
|
|
95
|
-
def ClearField(self, field_name: typing_extensions.Literal["messages_list",b"messages_list"]) -> None: ...
|
|
137
|
+
def ClearField(self, field_name: typing_extensions.Literal["messages_list",b"messages_list","objects_to_pull",b"objects_to_pull"]) -> None: ...
|
|
96
138
|
global___PullResMessagesResponse = PullResMessagesResponse
|
|
97
139
|
|
|
98
140
|
class PullServerAppInputsRequest(google.protobuf.message.Message):
|