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
def __init__(self, obj, klass): Callable.__init__(self) SerializedObject.__init__(self, obj) self.klass = klass self.type_name = self.klass.name
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)