示例#1
0
 def __init__(self, obj, generator=None, args=None, callable=None):
     Callable.__init__(self)
     SerializedObject.__init__(self, obj)
     if generator is not None and args is not None and callable is not None:
         self.activate(generator, args, callable)
     self.definition = None
     self.args = None
示例#2
0
 def __init__(self, obj, klass):
     Callable.__init__(self)
     SerializedObject.__init__(self, obj)
     self.klass = klass
     self.type_name = self.klass.name
示例#3
0
 def __init__(self, obj, generator=None, args=None, callable=None):
     Callable.__init__(self)
     SerializedObject.__init__(self, obj)
     if generator is not None and args is not None and callable is not None:
         self.activate(generator, args, callable)
示例#4
0
文件: store.py 项目: goulu/pythoscope
 def __init__(self, obj, klass):
     Callable.__init__(self)
     SerializedObject.__init__(self, obj)
     self.klass = klass
     self.type_name = self.klass.name