Skip to content

Commit

Permalink
fix(framework:skip) Ensure success key is always present in JSON ou…
Browse files Browse the repository at this point in the history
…tput for `flwr ls` (#4633)
  • Loading branch information
jafermarq authored Dec 4, 2024
1 parent 0254c88 commit 7389295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/flwr/cli/ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def _to_json(run_list: list[_RunListType]) -> str:
}
)

return json.dumps({"runs": runs_list})
return json.dumps({"success": True, "runs": runs_list})


def _list_runs(
Expand Down

0 comments on commit 7389295

Please sign in to comment.