OpenQuizz
Une application de gestion des contenus pédagogiques
BaseObject Class Reference
Inheritance diagram for BaseObject:
Collaboration diagram for BaseObject:

Public Member Functions

def __init__ (self, codec_options, read_preference, write_concern, read_concern)
 
def codec_options (self)
 
def write_concern (self)
 
def read_preference (self)
 
def read_concern (self)
 

Detailed Description

A base class that provides attributes and methods common
to multiple pymongo classes.

SHOULD NOT BE USED BY DEVELOPERS EXTERNAL TO MONGODB.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  codec_options,
  read_preference,
  write_concern,
  read_concern 
)

Member Function Documentation

◆ codec_options()

def codec_options (   self)
Read only access to the :class:`~bson.codec_options.CodecOptions`
of this instance.

◆ read_concern()

def read_concern (   self)
Read only access to the :class:`~pymongo.read_concern.ReadConcern`
of this instance.

.. versionadded:: 3.2

◆ read_preference()

def read_preference (   self)
Read only access to the read preference of this instance.

.. versionchanged:: 3.0
  The :attr:`read_preference` attribute is now read only.

◆ write_concern()

def write_concern (   self)
Read only access to the :class:`~pymongo.write_concern.WriteConcern`
of this instance.

.. versionchanged:: 3.0
  The :attr:`write_concern` attribute is now read only.

The documentation for this class was generated from the following file: