Skip to content

Commit

Permalink
reformat.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhwen committed Sep 5, 2024
1 parent 5f7211d commit 990e7ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nvflare/app_common/workflows/base_model_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,7 @@ def sample_clients(self, num_clients: int = None) -> List[str]:
return clients

def set_fl_context(self, data: FLModel):
"""Set up the fl_ctx information based on the passed in FLModel data.
"""
"""Set up the fl_ctx information based on the passed in FLModel data."""
if data and data.current_round is not None:
self.fl_ctx.set_prop(AppConstants.CURRENT_ROUND, data.current_round, private=True, sticky=True)
else:
Expand Down

0 comments on commit 990e7ae

Please sign in to comment.