Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions framework/py/flwr/cli/federation/ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def ls( # pylint: disable=R0914, R0913, R0917, R0912
" [bold yellow]\\[ARCHIVED][/bold yellow]" if archived else ""
)
Console().print(
f"📄 Showing '{federation}' federation{archived_str} ...\n"
f"📄 Showing '{federation}' federation{archived_str}...\n"
)
if is_json:
print_json_to_stdout(
Expand Down Expand Up @@ -272,10 +272,8 @@ def _to_members_table(members: list[Member]) -> Table:
"""
table = Table(title="Federation Members", header_style="bold cyan", show_lines=True)

table.add_column(
Text("Account Name", justify="center"), style="bright_black", no_wrap=True
)
table.add_column(Text("Role", justify="center"), style="bright_black", no_wrap=True)
table.add_column(Text("Account Name", justify="center"), no_wrap=True)
table.add_column(Text("Role", justify="center"), no_wrap=True)

for member in members:
table.add_row(member.account.name, member.role)
Expand Down