You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node can now be used for generic type hint. Example: Node[str]
represents a node that will have a str as result.
The class YapeContext was added.
Implemented framework for resource I/O in nodes. A provider for "path
resources" was implemented.
Added decorator yape.node.
Caching: modules can now be part of a node descriptor.
Functions can use nodes directly in their bodies now.
Recursive structures are now possible in values.
Added new CLI subcommand: yape deps.
It is possible (and recommended) to define nodes inside a nodegen() function
in the entrypoint module when running yape.
Changed
BREAKING: run() now uses the parameter context now and dropped the
parameters ns, cached and cache_path. If you used those, you should
pass a YapeContext object using the equivalent parameters.
BREAKING: yape list now only lists nodes that have been explicitly
named. The flag --all must be used to list all nodes.