The panko.storage.mongo.utils Module

Common functions for MongoDB backend

class panko.storage.mongo.utils.ConnectionPool[source]

Bases: object

connect(url, max_retries, retry_interval)[source]
class panko.storage.mongo.utils.CursorProxy(cursor, max_retry, retry_interval)[source]

Bases: pymongo.cursor.Cursor

class panko.storage.mongo.utils.MongoProxy(conn, max_retries, retry_interval)[source]

Bases: object

create_index(keys, name=None, *args, **kwargs)[source]
find(*args, **kwargs)[source]

Previous topic

The panko.storage.models Module

Next topic

The panko.storage.pymongo_base Module

Project Source

This Page