pygsti.baseobjs.mongoserializable

pygsti.baseobjs.mongoserializable#

Defines the MongoSerializable class

Functions

prepare_doc_for_existing_doc_check(doc, ...)

Prepares a to-be inserted document for comparison with an existing document.

recursive_compare_str(a, b[, a_name, ...])

Compares two objects and generates a list of strings describing how they differ.

Classes

MongoSerializable([doc_id])

Base class for objects that can be serialized to a MongoDB database.

RecursiveRemovalSpecification([edesigns, ...])

Specifies which types of objects to remove when performing a recursive removal of MongoDB documents.

WriteOpsByCollection([session, ...])

A dictionary of pymongo write operations stored on a per-collection basis.