Exemplo n.º 1
0
Arquivo: system.py Projeto: happz/hlib
    def __init__(self, user=None, **kwargs):
        Event.__init__(self, **kwargs)

        self.user = user
Exemplo n.º 2
0
Arquivo: app.py Projeto: happz/hlib
  def __init__(self, app = None, *args, **kwargs):
    Event.__init__(self, *args, **kwargs)

    self.app = app
Exemplo n.º 3
0
Arquivo: engine.py Projeto: happz/hlib
  def to_api(self):
    d = Event.to_api(self)

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

    return d
Exemplo n.º 4
0
Arquivo: engine.py Projeto: happz/hlib
  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
Exemplo n.º 5
0
Arquivo: engine.py Projeto: happz/hlib
  def __init__(self, engine = None, *args, **kwargs):
    Event.__init__(self, *args, **kwargs)

    self.engine = engine
Exemplo n.º 6
0
Arquivo: engine.py Projeto: happz/hlib
  def __init__(self, server, thread, *args, **kwargs):
    Event.__init__(self, *args, **kwargs)

    self.server = server
    self.thread = thread