Create a Steps template with pydantic models and hera runner #1138
-
The new hera runner together with pydantic models looks like this
But I don't know how to adapt this to create a Scripts template:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Maybe even a nicer way to do this would be if there was a decorator that harvested the inputs, outputs in the same way it does for
|
Beta Was this translation helpful? Give feedback.
-
I found a workaround by employing Parameters that I assume pass the serialised objects. Here is the example:
This is clearly a workaround but I'll leave this open until a more "consistent" approach is shared. |
Beta Was this translation helpful? Give feedback.
-
@bieniekmateusz your suggestion already exists - see https://hera.readthedocs.io/en/stable/user-guides/decorators/#using-decorators |
Beta Was this translation helpful? Give feedback.
@bieniekmateusz your suggestion already exists - see https://hera.readthedocs.io/en/stable/user-guides/decorators/#using-decorators