def getMonque(): from pymongo import Connection db = Connection(*networking.monqueMongo())["photoQueue"] from monque import Monque return Monque(db)
def getProgressCollection(): from pymongo import MongoClient db = MongoClient(*networking.monqueMongo(), connect=False)["photoQueue"] return db["progress"]
def getProgressCollection(): from pymongo import MongoClient db = MongoClient(*networking.monqueMongo(), connect=False)['photoQueue'] return db['progress']
def getMonque(): from pymongo import Connection db = Connection(*networking.monqueMongo())['photoQueue'] from monque import Monque return Monque(db)