New User Guides, Script Annotations and more in 5.7.0! #770
elliotgunton
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hera V5.7.0 is out!
We've rearranged the docs website to aid discovery of various things, including the brand new User Guides! In here, you'll find the core concepts of Hera, a deep-dive on the Script class, and the expr module guide (which was moved in).
A huge enhancement (special thanks to @dejamiko! 🎖) has been made to Scripts through annotations (i.e. Python's
typing.Annotated
), which are a new opt-in experimental feature to make your @script functions easier to write and less error prone, and includes some really cool auto-loading features when used with the Hera Runner. This means a script using an Artifact such as:Can now be written as:
Or even directly loaded to a Pydantic type!
Read more in the new Scripts guide!
There were also various bug fixes, new examples and doc improvements made - see the release notes.
Beta Was this translation helpful? Give feedback.
All reactions