Remove parameters ghpython

With some of the components you can remove parameters, like the “limit” parameter of the query elements component. Is there a way to emulate this in the python environment when I call that method?

Which method are you specifically referring to? Are you talking about calling the “query” component from python node-in-code?