Exemple #1
0
    def __init__(self, user=None, **kwargs):
        Event.__init__(self, **kwargs)

        self.user = user
Exemple #2
0
  def __init__(self, app = None, *args, **kwargs):
    Event.__init__(self, *args, **kwargs)

    self.app = app
Exemple #3
0
  def to_api(self):
    d = Event.to_api(self)

    d['task'] = self.task.name

    return d
Exemple #4
0
  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
Exemple #5
0
  def __init__(self, engine = None, *args, **kwargs):
    Event.__init__(self, *args, **kwargs)

    self.engine = engine
Exemple #6
0
  def __init__(self, server, thread, *args, **kwargs):
    Event.__init__(self, *args, **kwargs)

    self.server = server
    self.thread = thread