def do_copy(self, new_ids=False, id_scope=None, id_remap=None): cp = DBControlParameter.do_copy(self, new_ids, id_scope, id_remap) cp.__class__ = ModuleControlParam return cp
def __init__(self, *args, **kwargs): DBControlParameter.__init__(self, *args, **kwargs) if self.id is None: self.id = -1