Skip to content

Commit

Permalink
fixup! Add ability to subclass from both Input and Output
Browse files Browse the repository at this point in the history
Signed-off-by: Elliot Gunton <[email protected]>
  • Loading branch information
elliotgunton committed Jun 21, 2024
1 parent 584e7fe commit f0d89fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hera/workflows/io/_io_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _get_as_arguments(self) -> ModelArguments:
# to create a "passthrough" IO object
continue
# The dict value may be of any type if it was a default value, so we need to serialize it.
# If it is a templated string, it will be unaffected as `"{{mystr}}" == serialize("{{mystr}}")``
# If it is a templated string, it will be unaffected as `"{{mystr}}" == serialize("{{mystr}}")`
templated_value = serialize(self_dict[field])

if get_origin(annotations[field]) is Annotated:
Expand Down

0 comments on commit f0d89fb

Please sign in to comment.