https://kedro.org/ logo
#user-research
Title
# user-research
n

Nok Lam Chan

03/08/2024, 10:08 AM
Would people still be interested in some extra help with IDE? (it's a working demo in 0.19). What would you like to see if this turns into reality?
vscode 7
šŸ‘€ 5
pycharm 5
šŸŽ‰ 3
šŸ”„ 5
šŸ¤© 14
g

giphy

03/08/2024, 11:36 AM
shut up and take my money
I need it
i

Ian Whalen

03/08/2024, 1:25 PM
I've always wanted this
n

Nok Lam Chan

03/08/2024, 1:39 PM
@Ian Whalen Is that mostly the connections between parameters.yml / catalog.yml / pipeline.py? Create IDE plugins for major editors #2821 There is a broader discussion about IDE plugins,
i

Ian Whalen

03/08/2024, 1:46 PM
Yeah something like that! If I'm in pycharm and click through to my node's function definition I also want the same workflow to click through to my catalog / parameter definitions The immediate issue for me would be template pipelines But maybe there's a way to find "all definitions" somehow? Like if you tried to see all implementations of a base class's abstract method (in Pycharm that is) Edit: it seems like you've covered all of this (and more) in the issue already!
šŸ‘šŸ¼ 1
n

Nok Lam Chan

03/08/2024, 2:16 PM
runtime generated pipeline will be trickier, there is nothing for you to "click" to start with if you just have some for loop there. For config actually it could be easier, because we only need the
key
but not the value (which can be interpolated or through custom resolver). In case that we cannot find the exact key, it may not be too bad to just go back to its parent (very rough idea)
Copy code
# parameters.yml
top-level-key:
  sub-key: ${some_group_config}

some_group_config:
  a: 1
  b: 2
  c: 3
In
pipeline.py
you may refer it to
node(func, inputs="params:top-level-key.sub-key.a
, in this case we cannot resolve the parameter to a particular line of config, we can just backtrack and go to
top-level-key.sub-key
or
top-level-key
šŸ‘ 1
Current Status: āœ… Basic pipeline -> catalog/parameters.yml (top level key only) āœ… JSON Schema validation Next: ā€¢ catalog/parameter -> pipeline references ā€¢ auto-completion (params/dataset) What IDE interactions you would like to see in the first v0.1 vscode VSCode extension? (should be coming in next week or two) For Pycharm user, I would love to add support too, but I am not sure how, see https://github.com/kedro-org/kedro/issues/2821#issuecomment-2070424371
šŸš€ 6
ā¤ļø 7
šŸŽ‰ 5
šŸ˜Ž 3
šŸ”„ 5
šŸ¤Æ 3