Skip to content

Commit

Permalink
Merge branch 'main' into fds-improve-seed-docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Apr 10, 2024
2 parents f51bd53 + 6e0dbdb commit 86d7e14
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 3 additions & 1 deletion src/py/flwr/cli/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def example() -> None:
with urllib.request.urlopen(examples_directory_url) as res:
data = json.load(res)
example_names = [
item["path"] for item in data["tree"] if item["path"] not in [".gitignore"]
item["path"]
for item in data["tree"]
if item["path"] not in [".gitignore", "doc"]
]

example_name = prompt_options(
Expand Down
13 changes: 7 additions & 6 deletions src/py/flwr/client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,13 @@ def _load_client_app() -> ClientApp:
continue

log(INFO, "")
log(
INFO,
"[RUN %s, ROUND %s]",
message.metadata.run_id,
message.metadata.group_id,
)
if len(message.metadata.group_id) > 0:
log(
INFO,
"[RUN %s, ROUND %s]",
message.metadata.run_id,
message.metadata.group_id,
)
log(
INFO,
"Received: %s message %s",
Expand Down
1 change: 1 addition & 0 deletions src/py/flwr/common/retry_invoker.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ def try_call_event_handler(
try:
ret = target(*args, **kwargs)
except self.recoverable_exceptions as err:
state.exception = err
# Check if giveup event should be triggered
max_tries_exceeded = try_cnt == self.max_tries
max_time_exceeded = (
Expand Down

0 comments on commit 86d7e14

Please sign in to comment.