The panko.storage.mongo.utils Module

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]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.