Exemplo n.º 1
0
 def __init__(self, db, manager):
     RestApplication.__init__(self)
     self.db = db
     self.manager = manager
     self.manager.db = db
     # TODO: This will become a user centric configuration issue, and we will
     # take this code out, but right now I need a way to easily seed an
     # empty db, so this is it.
     self.configureJobMapping()
Exemplo n.º 2
0
 def __init__(self, db, manager):
     RestApplication.__init__(self)
     self.db = db
     self.manager = manager
     self.manager.db = db
Exemplo n.º 3
0
 def __init__(self, db, manager):
     RestApplication.__init__(self)
     self.db = db
     self.manager = manager
     self.add_resource("api", TestBotAPI(db, manager))
Exemplo n.º 4
0
 def __init__(self, db):
     RestApplication.__init__(self)
     self.db = db
Exemplo n.º 5
0
 def __init__(self, db):
     RestApplication.__init__(self)
     self.db = db
Exemplo n.º 6
0
 def __init__(self, *args, **kwargs):
     JSONRPCDispatcher.__init__(self, *args, **kwargs)
     RestApplication.__init__(self)