Skip to content

Commit

Permalink
Fix async method error
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Mokrov <[email protected]>
  • Loading branch information
aleksandr-mokrov committed Jan 26, 2023
1 parent 954d675 commit 33a14fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfl/component/director/director.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async def get_experiment_status(
return None
return self.experiments_registry[experiment_name].status

def get_trained_model(self, experiment_name: str, caller: str, model_type: str):
async def get_trained_model(self, experiment_name: str, caller: str, model_type: str):
"""Get trained model."""
if (experiment_name not in self.experiments_registry
or caller not in self.experiments_registry[experiment_name].users):
Expand Down

0 comments on commit 33a14fb

Please sign in to comment.