Skip to content

Commit

Permalink
Use items instead of keys
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll committed Jul 6, 2024
1 parent 3ccc2df commit 9afbfc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/py/flwr/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ def get_fused_config(
]["config"]
)

for key in default_config.keys():
for key, value in default_config.items():
if key in run.override_config:
final_config[key] = run.override_config[key]
else:
final_config[key] = default_config[key]
final_config[key] = value

return final_config

0 comments on commit 9afbfc8

Please sign in to comment.