flwr-nightly 1.23.0.dev20251003__py3-none-any.whl → 1.23.0.dev20251005__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/cli/app.py +2 -1
- flwr/cli/ls.py +7 -3
- {flwr_nightly-1.23.0.dev20251003.dist-info → flwr_nightly-1.23.0.dev20251005.dist-info}/METADATA +1 -1
- {flwr_nightly-1.23.0.dev20251003.dist-info → flwr_nightly-1.23.0.dev20251005.dist-info}/RECORD +6 -6
- {flwr_nightly-1.23.0.dev20251003.dist-info → flwr_nightly-1.23.0.dev20251005.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.23.0.dev20251003.dist-info → flwr_nightly-1.23.0.dev20251005.dist-info}/entry_points.txt +0 -0
flwr/cli/app.py
CHANGED
flwr/cli/ls.py
CHANGED
@@ -19,7 +19,7 @@ import io
|
|
19
19
|
import json
|
20
20
|
from datetime import datetime, timedelta
|
21
21
|
from pathlib import Path
|
22
|
-
from typing import Annotated, Optional
|
22
|
+
from typing import Annotated, Optional, cast
|
23
23
|
|
24
24
|
import typer
|
25
25
|
from rich.console import Console
|
@@ -50,6 +50,7 @@ _RunListType = tuple[int, str, str, str, str, str, str, str, str]
|
|
50
50
|
|
51
51
|
|
52
52
|
def ls( # pylint: disable=too-many-locals, too-many-branches, R0913, R0917
|
53
|
+
ctx: typer.Context,
|
53
54
|
app: Annotated[
|
54
55
|
Path,
|
55
56
|
typer.Argument(help="Path of the Flower project"),
|
@@ -102,6 +103,9 @@ def ls( # pylint: disable=too-many-locals, too-many-branches, R0913, R0917
|
|
102
103
|
|
103
104
|
All timestamps follow ISO 8601, UTC and are formatted as ``YYYY-MM-DD HH:MM:SSZ``.
|
104
105
|
"""
|
106
|
+
# Resolve command used (list or ls)
|
107
|
+
command_name = cast(str, ctx.command.name) if ctx.command else "list"
|
108
|
+
|
105
109
|
suppress_output = output_format == CliOutputFormat.JSON
|
106
110
|
captured_output = io.StringIO()
|
107
111
|
try:
|
@@ -116,7 +120,7 @@ def ls( # pylint: disable=too-many-locals, too-many-branches, R0913, R0917
|
|
116
120
|
federation, federation_config = validate_federation_in_project_config(
|
117
121
|
federation, config, federation_config_overrides
|
118
122
|
)
|
119
|
-
exit_if_no_address(federation_config,
|
123
|
+
exit_if_no_address(federation_config, command_name)
|
120
124
|
channel = None
|
121
125
|
try:
|
122
126
|
if runs and run_id is not None:
|
@@ -216,7 +220,7 @@ def _to_table(run_list: list[_RunListType]) -> Table:
|
|
216
220
|
|
217
221
|
# Add columns
|
218
222
|
table.add_column(
|
219
|
-
Text("Run ID", justify="center"), style="bright_white",
|
223
|
+
Text("Run ID", justify="center"), style="bright_white", no_wrap=True
|
220
224
|
)
|
221
225
|
table.add_column(Text("FAB", justify="center"), style="dim white")
|
222
226
|
table.add_column(Text("Status", justify="center"))
|
{flwr_nightly-1.23.0.dev20251003.dist-info → flwr_nightly-1.23.0.dev20251005.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: flwr-nightly
|
3
|
-
Version: 1.23.0.
|
3
|
+
Version: 1.23.0.dev20251005
|
4
4
|
Summary: Flower: A Friendly Federated AI Framework
|
5
5
|
License: Apache-2.0
|
6
6
|
Keywords: Artificial Intelligence,Federated AI,Federated Analytics,Federated Evaluation,Federated Learning,Flower,Machine Learning
|
{flwr_nightly-1.23.0.dev20251003.dist-info → flwr_nightly-1.23.0.dev20251005.dist-info}/RECORD
RENAMED
@@ -4,7 +4,7 @@ flwr/app/error.py,sha256=0PwA-E_CAs5P_nWAA0kksVO1A44t4CNLEf7u-Su-uJ0,2342
|
|
4
4
|
flwr/app/exception.py,sha256=WX45Yviu_CmYrYd8JHNjRkSsb-g4Br7XvVLKuVxwSdI,1298
|
5
5
|
flwr/app/metadata.py,sha256=rdMBn0zhIOYmCvmGENQWSQqDwcxwsMJzCle4PQdlc_Y,7331
|
6
6
|
flwr/cli/__init__.py,sha256=EfMGmHoobET6P2blBt_eOByXL8299MgFfB7XNdaPQ6I,720
|
7
|
-
flwr/cli/app.py,sha256=
|
7
|
+
flwr/cli/app.py,sha256=xHbxFpdgQMMQojntdXVVijS2vWq4X7iPFbSiIuzFCyo,2457
|
8
8
|
flwr/cli/auth_plugin/__init__.py,sha256=Hi4YiFWCFhm7G94N_RIF1OEapxpWy3SyUeXVXfJyZSY,1226
|
9
9
|
flwr/cli/auth_plugin/auth_plugin.py,sha256=LK-DYGk8J85Mjsbc5BX9ueDVOOPcFSo9cKWJX25X-QI,3050
|
10
10
|
flwr/cli/auth_plugin/noop_auth_plugin.py,sha256=KRyxoYtrzOWAIlSuXznli9gqL-rmHSG3zESmYSCQ_rg,2093
|
@@ -18,7 +18,7 @@ flwr/cli/install.py,sha256=Jr883qR7qssVpUr3hEOEcLK-dfW67Rsve3lZchjA9RU,8180
|
|
18
18
|
flwr/cli/log.py,sha256=n_fcoECKIkY3MTOfXhB8AjOG1LSQW_GSPY-2qc7rW9Q,6553
|
19
19
|
flwr/cli/login/__init__.py,sha256=B1SXKU3HCQhWfFDMJhlC7FOl8UsvH4mxysxeBnrfyUE,800
|
20
20
|
flwr/cli/login/login.py,sha256=TR2whArUBGd6TqS1v4MAKBGLrfABkFdRVQuzKpsUULE,4757
|
21
|
-
flwr/cli/ls.py,sha256=
|
21
|
+
flwr/cli/ls.py,sha256=WineydqrQKuNf8yuFPRcfptYLZ-peu9LEOi4at3lfuw,11107
|
22
22
|
flwr/cli/new/__init__.py,sha256=QA1E2QtzPvFCjLTUHnFnJbufuFiGyT_0Y53Wpbvg1F0,790
|
23
23
|
flwr/cli/new/new.py,sha256=nIuUrQSGDjI4kqnymlq-rOT0RU3AHwZrat3abqHhCwM,10598
|
24
24
|
flwr/cli/new/templates/__init__.py,sha256=FpjWCfIySU2DB4kh0HOXLAjlZNNFDTVU4w3HoE2TzcI,725
|
@@ -428,7 +428,7 @@ flwr/supernode/servicer/__init__.py,sha256=lucTzre5WPK7G1YLCfaqg3rbFWdNSb7ZTt-ca
|
|
428
428
|
flwr/supernode/servicer/clientappio/__init__.py,sha256=7Oy62Y_oijqF7Dxi6tpcUQyOpLc_QpIRZ83NvwmB0Yg,813
|
429
429
|
flwr/supernode/servicer/clientappio/clientappio_servicer.py,sha256=nIHRu38EWK-rpNOkcgBRAAKwYQQWFeCwu0lkO7OPZGQ,10239
|
430
430
|
flwr/supernode/start_client_internal.py,sha256=Y9S1-QlO2WP6eo4JvWzIpfaCoh2aoE7bjEYyxNNnlyg,20777
|
431
|
-
flwr_nightly-1.23.0.
|
432
|
-
flwr_nightly-1.23.0.
|
433
|
-
flwr_nightly-1.23.0.
|
434
|
-
flwr_nightly-1.23.0.
|
431
|
+
flwr_nightly-1.23.0.dev20251005.dist-info/METADATA,sha256=0zIDexdYWqIJTLvW_ebh5iN-ypv6TkI6y3HSRUmVjMA,14559
|
432
|
+
flwr_nightly-1.23.0.dev20251005.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
433
|
+
flwr_nightly-1.23.0.dev20251005.dist-info/entry_points.txt,sha256=hxHD2ixb_vJFDOlZV-zB4Ao32_BQlL34ftsDh1GXv14,420
|
434
|
+
flwr_nightly-1.23.0.dev20251005.dist-info/RECORD,,
|
{flwr_nightly-1.23.0.dev20251003.dist-info → flwr_nightly-1.23.0.dev20251005.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|