Any example for the syntax used in python to do this?
I have a simple component that updates the number of inputs depending on what is connected downstream, these inputs are set with default values so if the user does not connect anything to them the component takes the default values.