I am doing this but I don't get to see the result, or errors

#getting the template
null_tg = null.parmTemplateGroup()
#finding and hiding
copy_parm_template = null_tg.find(“copyinput”)
copy_parm_template.hide(True)
# or
copy_parm_template.hide(0) # argument ‘ on ’as in the documentation fail
#setting the template
null.setParmTemplateGroup(null_tg)
i read something about replacing the parm? or something like that?