flwr-nightly 1.6.0.dev20231107__py3-none-any.whl → 1.6.0.dev20231110__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
flwr/server/app.py CHANGED
@@ -706,19 +706,12 @@ def _add_args_driver_api(parser: argparse.ArgumentParser) -> None:
706
706
  def _add_args_fleet_api(parser: argparse.ArgumentParser) -> None:
707
707
  # Fleet API transport layer type
708
708
  ex_group = parser.add_mutually_exclusive_group()
709
- ex_group.add_argument(
710
- "--grpc-bidi",
711
- action="store_const",
712
- dest="fleet_api_type",
713
- const=TRANSPORT_TYPE_GRPC_BIDI,
714
- default=TRANSPORT_TYPE_GRPC_BIDI,
715
- help="Start a Fleet API server (gRPC-bidi)",
716
- )
717
709
  ex_group.add_argument(
718
710
  "--grpc-rere",
719
711
  action="store_const",
720
712
  dest="fleet_api_type",
721
713
  const=TRANSPORT_TYPE_GRPC_RERE,
714
+ default=TRANSPORT_TYPE_GRPC_RERE,
722
715
  help="Start a Fleet API server (gRPC-rere)",
723
716
  )
724
717
  ex_group.add_argument(
@@ -728,15 +721,12 @@ def _add_args_fleet_api(parser: argparse.ArgumentParser) -> None:
728
721
  const=TRANSPORT_TYPE_REST,
729
722
  help="Start a Fleet API server (REST, experimental)",
730
723
  )
731
-
732
- # Fleet API gRPC-bidi options
733
- grpc_bidi_group = parser.add_argument_group(
734
- "Fleet API (gRPC-bidi) server options", ""
735
- )
736
- grpc_bidi_group.add_argument(
737
- "--grpc-bidi-fleet-api-address",
738
- help="Fleet API (gRPC-bidi) server address (IPv4, IPv6, or a domain name)",
739
- default=ADDRESS_FLEET_API_GRPC_RERE,
724
+ ex_group.add_argument(
725
+ "--grpc-bidi",
726
+ action="store_const",
727
+ dest="fleet_api_type",
728
+ const=TRANSPORT_TYPE_GRPC_BIDI,
729
+ help="Start a Fleet API server (gRPC-bidi)",
740
730
  )
741
731
 
742
732
  # Fleet API gRPC-rere options
@@ -774,3 +764,13 @@ def _add_args_fleet_api(parser: argparse.ArgumentParser) -> None:
774
764
  type=int,
775
765
  default=1,
776
766
  )
767
+
768
+ # Fleet API gRPC-bidi options
769
+ grpc_bidi_group = parser.add_argument_group(
770
+ "Fleet API (gRPC-bidi) server options", ""
771
+ )
772
+ grpc_bidi_group.add_argument(
773
+ "--grpc-bidi-fleet-api-address",
774
+ help="Fleet API (gRPC-bidi) server address (IPv4, IPv6, or a domain name)",
775
+ default=ADDRESS_FLEET_API_GRPC_RERE,
776
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: flwr-nightly
3
- Version: 1.6.0.dev20231107
3
+ Version: 1.6.0.dev20231110
4
4
  Summary: Flower: A Friendly Federated Learning Framework
5
5
  Home-page: https://flower.dev
6
6
  License: Apache-2.0
@@ -67,7 +67,7 @@ flwr/proto/transport_pb2_grpc.py,sha256=vLN3EHtx2aEEMCO4f1Upu-l27BPzd3-5pV-u8wPc
67
67
  flwr/proto/transport_pb2_grpc.pyi,sha256=AGXf8RiIiW2J5IKMlm_3qT3AzcDa4F3P5IqUjve_esA,766
68
68
  flwr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
69
  flwr/server/__init__.py,sha256=SG7XJWnskPZu30VfY5WmXbfYKeb8UFrths4qprAb0yg,1377
70
- flwr/server/app.py,sha256=xmeGeYzuIFx8yevkHssZTxd40UCJApEKoksi9q-RBqA,26236
70
+ flwr/server/app.py,sha256=PyigmVgF9fpCG_wTCvEgIKug43T0bZdER3Vz_J5ssL0,26236
71
71
  flwr/server/client_manager.py,sha256=T8UDSRJBVD3fyIDI7NTAA-NA7GPrMNNgH2OAF54RRxE,6127
72
72
  flwr/server/client_proxy.py,sha256=8ScGDvP3jHbl8DV3hyFID5N5VEVlXn8ZTQXtkdOfssI,2234
73
73
  flwr/server/criterion.py,sha256=ypbAexbztzGUxNen9RCHF91QeqiEQix4t4Ih3E-42MM,1061
@@ -122,8 +122,8 @@ flwr/simulation/ray_transport/__init__.py,sha256=FsaAnzC4cw4DqoouBCix6496k29jACk
122
122
  flwr/simulation/ray_transport/ray_actor.py,sha256=EiyXPRnur8pOzGu_h5ZU4t8C5M_amnVPAQWyPSbAnEU,16564
123
123
  flwr/simulation/ray_transport/ray_client_proxy.py,sha256=cPo3Ny1k5arqTLHD0bB5DSEuS66aE2SwEumtr8TzOGc,8778
124
124
  flwr/simulation/ray_transport/utils.py,sha256=v36Oy9U4adcVjrqGUJjoWNnZVd_KFoixLmRmDe_CCzs,3373
125
- flwr_nightly-1.6.0.dev20231107.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
126
- flwr_nightly-1.6.0.dev20231107.dist-info/METADATA,sha256=90Glds_DdnUF1d7eaPTfwz2bYvMGHZ8gvbUhoqIdOsE,13292
127
- flwr_nightly-1.6.0.dev20231107.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
128
- flwr_nightly-1.6.0.dev20231107.dist-info/entry_points.txt,sha256=1uLlD5tIunkzALMfMWnqjdE_D5hRUX_I1iMmOMv6tZI,181
129
- flwr_nightly-1.6.0.dev20231107.dist-info/RECORD,,
125
+ flwr_nightly-1.6.0.dev20231110.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
126
+ flwr_nightly-1.6.0.dev20231110.dist-info/METADATA,sha256=kePYa6PRytnSNiZwRw0kuDeVLBja6vIX6Ktb4akUnMA,13292
127
+ flwr_nightly-1.6.0.dev20231110.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
128
+ flwr_nightly-1.6.0.dev20231110.dist-info/entry_points.txt,sha256=1uLlD5tIunkzALMfMWnqjdE_D5hRUX_I1iMmOMv6tZI,181
129
+ flwr_nightly-1.6.0.dev20231110.dist-info/RECORD,,