def __init__(self, user=None, **kwargs): Event.__init__(self, **kwargs) self.user = user
def __init__(self, app = None, *args, **kwargs): Event.__init__(self, *args, **kwargs) self.app = app
def __init__(self, engine = None, *args, **kwargs): Event.__init__(self, *args, **kwargs) self.engine = engine
def __init__(self, engine = None, app = None, task = None, *args, **kwargs): Event.__init__(self, *args, **kwargs) self.engine = engine self.app = app self.task = task
def __init__(self, server, thread, *args, **kwargs): Event.__init__(self, *args, **kwargs) self.server = server self.thread = thread