Skip to content

Commit

Permalink
Fix typo (#2432)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanTingHsieh committed Mar 21, 2024
1 parent 2c1781c commit 295ef96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvflare/client/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def send(model: FLModel, clear_cache: bool = True) -> None:
model (FLModel): Sends a FLModel object.
clear_cache: clear cache after send
"""
if not isinstance(fl_model, FLModel):
raise TypeError("fl_model needs to be an instance of FLModel")
if not isinstance(model, FLModel):
raise TypeError("model needs to be an instance of FLModel")
global client_api
return client_api.send(model, clear_cache)

Expand Down

0 comments on commit 295ef96

Please sign in to comment.