def do_copy(self): cp = DBMachine.__copy__(self) cp.__class__ = Machine return cp
def __init__(self, *args, **kwargs): DBMachine.__init__(self, *args, **kwargs)
def do_copy(self, new_ids=False, id_scope=None, id_remap=None): cp = DBMachine.do_copy(self, new_ids, id_scope, id_remap) cp.__class__ = Machine return cp