%load_node
support full Kedro Node syntax, with better *args, **kwargs handling
#3629
Closed
Milestone
Copy from #3580 (comment)
The idea is to use
inspect.Signature.bind
andinspect.Parameters
. Additionally, we can identify the special arguments (VAR_POSITIONAL) if needed.We are already using similar logic to validate node inputs, so this should make sure we support valid inputs only.
kedro/kedro/pipeline/node.py
Lines 482 to 491 in b3637db
For example:
should translate to
Requirements
Supplementary
%load_node
#3623 is a marginal improvement, but I found it will be difficult to have generic support. This issue propose to use theinspect.Signature.bind
method to get generic supportThe text was updated successfully, but these errors were encountered: