Beispiel #1
0
 def __init__(self):
     self.store = Mongo(config.MONGO_STORE_COLLECTION)
Beispiel #2
0
 def __init__(self):
     self.token = Mongo(config.MONGO_TOKEN_COLLECTION)
     self.token.expire_after(self.CREATED_AT, config.TOKEN_EXPIRATION)
Beispiel #3
0
 def __init__(self):
     self.users = Mongo(config.MONGO_USERS_COLLECTION)