Esempio n. 1
0
 def do_copy(self, new_ids=False, id_scope=None, id_remap=None):
     cp = DBAnnotation.do_copy(self, new_ids, id_scope, id_remap)
     cp.__class__ = Annotation
     return cp
Esempio n. 2
0
 def do_copy(self, new_ids=False, id_scope=None, id_remap=None):
     cp = DBAnnotation.do_copy(self, new_ids, id_scope, id_remap)
     cp.__class__ = Annotation
     return cp
Esempio n. 3
0
 def __init__(self, *args, **kwargs):
     DBAnnotation.__init__(self, *args, **kwargs)
     if self.id is None:
         self.id = -1
Esempio n. 4
0
 def __init__(self, *args, **kwargs):
     DBAnnotation.__init__(self, *args, **kwargs)
     if self.id is None:
         self.id = -1