Skip to content

Commit

Permalink
Merge pull request #33 from higgsfield-ai/feat/fix-default-action-inp…
Browse files Browse the repository at this point in the history
…ut-gen

fix(action-builder): default field gen
  • Loading branch information
higgsfield authored Nov 8, 2023
2 parents 7c49b17 + c575604 commit f8f27eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion higgsfield/internal/experiment/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def as_github_action(self) -> str:
f"{indent}description: {remove_trailing_yaml(safe_dump(self.description))}"
)
to_join.append(f"{indent}required: {self.required}")
if self.default:
if self.default is not None:
d = self.default
if type(self.default) == str:
d = remove_trailing_yaml(safe_dump(self.default))
Expand Down

0 comments on commit f8f27eb

Please sign in to comment.