Skip to content

Commit

Permalink
Merge pull request #1027 from securefederatedai/mansishr-coverity-fix
Browse files Browse the repository at this point in the history
Update export.py for coverity fix #441136
  • Loading branch information
mansishr authored Aug 12, 2024
2 parents 366e245 + 3c4ca95 commit 295252c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openfl/experimental/workspace_export/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def generate_plan_yaml(self):
plan = self.created_workspace_path.joinpath("plan", "plan.yaml").resolve()
data = self.__read_yaml(plan)
if data is None:
data = {}
data["federated_flow"] = {"settings": {}, "template": ""}

data["federated_flow"]["template"] = f"src.{self.script_name}.{self.flow_class_name}"
Expand Down

0 comments on commit 295252c

Please sign in to comment.