elyra-ai / examples

A repository of examples for Elyra (https://github.com/elyra-ai/elyra)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to access label and node id in custom component from code/yaml?

Bijoy99roy opened this issue · comments

Can you please help me to read the component label and the node id from yaml, and pass that as an argument to .py file?

Are you referring to generic components (those that are used to run Jupyter notebooks, Python scripts, and R scripts) in Elyra or custom components you've implemented? (Both types of components utilize component specs, but only for generic components does Elyra expose some of the pipeline metdata.)

I am asking about the custom component. Want to read label from the component properties in the .yaml file and pass that as argument while running .py file

I'm not aware of any way to make this information available.