예제 #1
0
 def update_version(old_obj, trans_dict, new_obj=None):
     if new_obj is None:
         new_obj = DBRegistry()
     new_obj = _DBRegistry.update_version(old_obj, trans_dict, new_obj)
     new_obj.update_id_scope()
     return new_obj
예제 #2
0
파일: registry.py 프로젝트: cjh1/VisTrails
 def update_version(old_obj, trans_dict, new_obj=None):
     if new_obj is None:
         new_obj = DBRegistry()
     new_obj = _DBRegistry.update_version(old_obj, trans_dict, new_obj)
     new_obj.update_id_scope()
     return new_obj
예제 #3
0
 def __init__(self, *args, **kwargs):
     _DBRegistry.__init__(self, *args, **kwargs)
     self.idScope = IdScope()
예제 #4
0
파일: registry.py 프로젝트: cjh1/VisTrails
 def __init__(self, *args, **kwargs):
     _DBRegistry.__init__(self, *args, **kwargs)
     self.idScope = IdScope()