Access to instance in pipeline, if initialised with Parameterized Class

If a pipeline is created with Parameterized Classes, once the stage is activated, is there a way to get the instance (not the layout) ?

Was hoping I can allow users to manipulate the stage data in other cells:

pipeline..A = 100

PS: This can be achieved by passing instances directly of course.

1 Like

Hi @okz

I’ve also just started diving into pipeline. I think you can access pipeline._stage. I think the current documentation is lacking a lot of details. But the implementation seems to be readable and shows a lot of things are possible.

Take a look at

Thanks @Marc, looking at the code, _state gives you the instantiated Parameterized classes, where as _stage, gives the layout as in the documented stage method.

_states dict, can also be used to access any initialised instances

1 Like