def topic(self): storage = MongoStorage(Context(config=Config(MONGO_STORAGE_SERVER_PORT=7777))) storage.remove(IMAGE_URL % 9999) return COLLECTION.find_one({'path': IMAGE_URL % 9999})
def topic(self): storage = MongoStorage(Context(config=Config(MONGO_STORAGE_SERVER_PORT=7777))) storage.remove(IMAGE_URL % 9999) return self.parent.parent.collection.find_one({'path': IMAGE_URL % 9999})
def topic(self): storage = MongoStorage( Context(config=Config(MONGO_STORAGE_SERVER_PORT=7777))) storage.remove(IMAGE_URL % 9999) return COLLECTION.find_one({'path': IMAGE_URL % 9999})
def topic(self): storage = MongoStorage( Context(config=Config(MONGO_STORAGE_SERVER_PORT=7777))) storage.remove(IMAGE_URL % 9999) return self.parent.parent.collection.find_one( {'path': IMAGE_URL % 9999})