node_to_function# maize.utilities.macros.node_to_function(cls: type[Node], **constructor_args: Any) → Callable[[...], dict[str, Any]][source]# Convert a node class to a function that takes inputs and parameters as function arguments. Parameters: cls – The node class (not instance) Returns: A function taking inputs and parameters as keyword arguments and returning a dictionary with outputs Return type: Callable[…, dict[str, Any]]