-
Notifications
You must be signed in to change notification settings - Fork 906
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%load_node line magic improvements #3580
Comments
Add import statement to import * from node source file - allows nodes with helper functions to be runnable in notebooks without having to go back to source files and copy paste the code over Edited by Nok below: |
Resolve MemoryDatasets so that users don't have to add them to catalog to access them as node inputs |
if we can use
|
I find a couple of things to improve when I try to help an user to debug on 0.18.x
i.e. It should be valid to have a node
This will cause error because |
Better handle of The idea is to use For example: def dummy(a,b,c, *args, **kwargs):
...
node(dummy, ["data_1", "data_2", "data_3", "dummy1","dummy2","dummy3"], ...) should translate to a = catalog.load("data_1")
b = catalog.load("data_2")
c = catalog.load("data_3")
dummy1 = catalog.load("dummy1")
dummy2 = catalog.load("dummy2")
dummy3 = catalog.load("dummy3")
args = [dummy1, dummy2, dummy3] # Noted here the name of the "dummy_x" variable are arbitrary
dummy(a, b, c, *args) |
Consider adding |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Description
In #3510 we introduce a new line magic, aimed at improving the process of debugging Kedro projects in notebooks. This feature is experimental - this issue should be used to add suggestions for extending and improving it. Add a suggestion in the comments, or if already mentioned, bump its priority with a 👍 .
(edited by Nok)
%load_node
support full Kedro Node syntax, with better *args, **kwargs handling #3629before_node_run
,after_node_run
or document how to handle edge case if user project has hooks that mutate inputs(Copy from previous issue)
Two-way sync
Recursive definition of function body
The text was updated successfully, but these errors were encountered: