flwr-nightly 1.7.0.dev20231221__py3-none-any.whl → 1.7.0.dev20231222__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- flwr/client/app.py +9 -8
- {flwr_nightly-1.7.0.dev20231221.dist-info → flwr_nightly-1.7.0.dev20231222.dist-info}/METADATA +1 -1
- {flwr_nightly-1.7.0.dev20231221.dist-info → flwr_nightly-1.7.0.dev20231222.dist-info}/RECORD +6 -6
- {flwr_nightly-1.7.0.dev20231221.dist-info → flwr_nightly-1.7.0.dev20231222.dist-info}/LICENSE +0 -0
- {flwr_nightly-1.7.0.dev20231221.dist-info → flwr_nightly-1.7.0.dev20231222.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.7.0.dev20231221.dist-info → flwr_nightly-1.7.0.dev20231222.dist-info}/entry_points.txt +0 -0
flwr/client/app.py
CHANGED
@@ -74,10 +74,10 @@ def run_client() -> None:
|
|
74
74
|
|
75
75
|
print(args.root_certificates)
|
76
76
|
print(args.server)
|
77
|
-
print(args.
|
77
|
+
print(args.dir)
|
78
78
|
print(args.callable)
|
79
79
|
|
80
|
-
callable_dir = args.
|
80
|
+
callable_dir = args.dir
|
81
81
|
if callable_dir is not None:
|
82
82
|
sys.path.insert(0, callable_dir)
|
83
83
|
|
@@ -101,6 +101,10 @@ def _parse_args_client() -> argparse.ArgumentParser:
|
|
101
101
|
description="Start a long-running Flower client",
|
102
102
|
)
|
103
103
|
|
104
|
+
parser.add_argument(
|
105
|
+
"callable",
|
106
|
+
help="For example: `client:flower` or `project.package.module:wrapper.flower`",
|
107
|
+
)
|
104
108
|
parser.add_argument(
|
105
109
|
"--insecure",
|
106
110
|
action="store_true",
|
@@ -120,13 +124,10 @@ def _parse_args_client() -> argparse.ArgumentParser:
|
|
120
124
|
help="Server address",
|
121
125
|
)
|
122
126
|
parser.add_argument(
|
123
|
-
"--
|
124
|
-
help="For example: `client:flower` or `project.package.module:wrapper.flower`",
|
125
|
-
)
|
126
|
-
parser.add_argument(
|
127
|
-
"--callable-dir",
|
127
|
+
"--dir",
|
128
128
|
default="",
|
129
|
-
help="Add specified directory to the PYTHONPATH and load
|
129
|
+
help="Add specified directory to the PYTHONPATH and load Flower "
|
130
|
+
"callable from there."
|
130
131
|
" Default: current working directory.",
|
131
132
|
)
|
132
133
|
|
{flwr_nightly-1.7.0.dev20231221.dist-info → flwr_nightly-1.7.0.dev20231222.dist-info}/RECORD
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
flwr/__init__.py,sha256=6zbcS7z2q-VUdmpFppLH6BacsE-ZFmfq6OvtKNOyYE0,981
|
2
2
|
flwr/client/__init__.py,sha256=2T4enmlE4PsoKiGTvXwBKSlhOjZ7MXRy5oCGNf0UH9Y,1111
|
3
|
-
flwr/client/app.py,sha256=
|
3
|
+
flwr/client/app.py,sha256=X5OGCBtKtEj-JBk9tXJyE6Rfllpo6Nse46pkznzofdg,19252
|
4
4
|
flwr/client/client.py,sha256=o7uPXVvLJExyqGz8W1JdjnVL3HTxvyAZ6hhIQTEjwrg,8233
|
5
5
|
flwr/client/dpfedavg_numpy_client.py,sha256=LxUcPBO0mU3VScAx9vx2PlsghXjQZVEBOn3rolgrgio,7216
|
6
6
|
flwr/client/flower.py,sha256=PPYROFVnu7NEe7sR8XFVbkfvfwecIuQc5-VllPz0LlQ,4049
|
@@ -131,8 +131,8 @@ flwr/simulation/ray_transport/__init__.py,sha256=FsaAnzC4cw4DqoouBCix6496k29jACk
|
|
131
131
|
flwr/simulation/ray_transport/ray_actor.py,sha256=kCaH8I-F7Ckk1LbwTSpYvwB8Rqar8Kl1V8jbhwmHcQg,17133
|
132
132
|
flwr/simulation/ray_transport/ray_client_proxy.py,sha256=FIyqnhBU2I34ZAHRJrPIRYoNQwz1PaU7c0ERiHSepDE,9530
|
133
133
|
flwr/simulation/ray_transport/utils.py,sha256=v36Oy9U4adcVjrqGUJjoWNnZVd_KFoixLmRmDe_CCzs,3373
|
134
|
-
flwr_nightly-1.7.0.
|
135
|
-
flwr_nightly-1.7.0.
|
136
|
-
flwr_nightly-1.7.0.
|
137
|
-
flwr_nightly-1.7.0.
|
138
|
-
flwr_nightly-1.7.0.
|
134
|
+
flwr_nightly-1.7.0.dev20231222.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
135
|
+
flwr_nightly-1.7.0.dev20231222.dist-info/METADATA,sha256=hPCwNk0PL2Xu7IXV7GfL751MoU5Wc14qTvHKFlVwnLs,13794
|
136
|
+
flwr_nightly-1.7.0.dev20231222.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
137
|
+
flwr_nightly-1.7.0.dev20231222.dist-info/entry_points.txt,sha256=1uLlD5tIunkzALMfMWnqjdE_D5hRUX_I1iMmOMv6tZI,181
|
138
|
+
flwr_nightly-1.7.0.dev20231222.dist-info/RECORD,,
|
{flwr_nightly-1.7.0.dev20231221.dist-info → flwr_nightly-1.7.0.dev20231222.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|
File without changes
|