I wonder if this is a bug, while using a grasshopper python I noticed that if we dynamically add some inputs to the component python in GH_Instance SDK Mode:
But if the RunScript() def as columned parameters (it might be convinient sometimes to use it) it doesn’t automatically update and throws an error 1. Error running script (ExecuteException): RunScript() takes 3 positional arguments but 4 were given:
Hence, if you are using lists as datatype input the IDE will organize automatically the RunScrip()'s parameters in column resaulting the above mentioned error, see here:
Is this a verified bug @eirannejad (sorry for poking you on this one ) ?
It’s actually quite incapacitating because one cannot assign List types to entries without the component to fail.
@andrea.settimi Would you mind giving me steps to replicate this? I made a python script and modified the RunScript signature and added a y of List[object] and it works.