Пример #1
0
    def __init__(self, *args, **kwargs):
	DBFunction.__init__(self, *args, **kwargs)
        if self.name is None:
            self.name = ""
        if self.real_id is None:
            self.real_id = -1
        if self.pos is None:
            self.pos = -1
        self.set_defaults()
 def __init__(self, *args, **kwargs):
     DBFunction.__init__(self, *args, **kwargs)
     if self.name is None:
         self.name = ""
     if self.real_id is None:
         self.real_id = -1
     if self.pos is None:
         self.pos = -1
     self.set_defaults()
Пример #3
0
    def __init__(self, *args, **kwargs):
	DBFunction.__init__(self, *args, **kwargs)
        if self.name is None:
            self.name = ""
        if self.real_id is None:
            self.real_id = -1
        if self.pos is None:
            self.pos = -1
        self.returnType = "void"
Пример #4
0
 def do_copy(self, new_ids=False, id_scope=None, id_remap=None):
     cp = DBFunction.do_copy(self, new_ids, id_scope, id_remap)
     cp.__class__ = ModuleFunction
     cp.set_defaults(self)
     return cp
 def do_copy(self, new_ids=False, id_scope=None, id_remap=None):
     cp = DBFunction.do_copy(self, new_ids, id_scope, id_remap)
     cp.__class__ = ModuleFunction
     cp.set_defaults(self)
     return cp
Пример #6
0
 def do_copy(self, new_ids=False, id_scope=None, id_remap=None):
     cp = DBFunction.do_copy(self, new_ids, id_scope, id_remap)
     cp.__class__ = ModuleFunction
     cp.returnType = self.returnType
     return cp