예제 #1
0
파일: server.py 프로젝트: ctalbert/testbot
 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()
예제 #2
0
파일: server.py 프로젝트: mikeal/testbot
 def __init__(self, db, manager):
     RestApplication.__init__(self)
     self.db = db
     self.manager = manager
     self.manager.db = db
예제 #3
0
파일: server.py 프로젝트: mikeal/testbot
 def __init__(self, db, manager):
     RestApplication.__init__(self)
     self.db = db
     self.manager = manager
     self.add_resource("api", TestBotAPI(db, manager))
예제 #4
0
 def __init__(self, db):
     RestApplication.__init__(self)
     self.db = db
예제 #5
0
 def __init__(self, db):
     RestApplication.__init__(self)
     self.db = db
예제 #6
0
파일: jsonrpc.py 프로젝트: ijs/windmill
 def __init__(self, *args, **kwargs):
     JSONRPCDispatcher.__init__(self, *args, **kwargs)
     RestApplication.__init__(self)