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

Public Member Functions

def __init__ (self, username, password, database, options)
 
def connect (self)
 
def codec_options (self)
 
def credentials (self)
 
def direct_connection (self)
 
def local_threshold_ms (self)
 
def server_selection_timeout (self)
 
def server_selector (self)
 
def heartbeat_frequency (self)
 
def pool_options (self)
 
def read_preference (self)
 
def replica_set_name (self)
 
def write_concern (self)
 
def read_concern (self)
 
def retry_writes (self)
 
def retry_reads (self)
 
def auto_encryption_opts (self)
 

Detailed Description

ClientOptions

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  username,
  password,
  database,
  options 
)

Member Function Documentation

◆ auto_encryption_opts()

def auto_encryption_opts (   self)
A :class:`~pymongo.encryption.AutoEncryptionOpts` or None.

◆ codec_options()

def codec_options (   self)
A :class:`~bson.codec_options.CodecOptions` instance.

◆ connect()

def connect (   self)
Whether to begin discovering a MongoDB topology automatically.

◆ credentials()

def credentials (   self)
A :class:`~pymongo.auth.MongoCredentials` instance or None.

◆ direct_connection()

def direct_connection (   self)
Whether to connect to the deployment in 'Single' topology.

◆ heartbeat_frequency()

def heartbeat_frequency (   self)
The monitoring frequency in seconds.

◆ local_threshold_ms()

def local_threshold_ms (   self)
The local threshold for this instance.

◆ pool_options()

def pool_options (   self)
A :class:`~pymongo.pool.PoolOptions` instance.

◆ read_concern()

def read_concern (   self)
A :class:`~pymongo.read_concern.ReadConcern` instance.

◆ read_preference()

def read_preference (   self)
A read preference instance.

◆ replica_set_name()

def replica_set_name (   self)
Replica set name or None.

◆ retry_reads()

def retry_reads (   self)
If this instance should retry supported read operations.

◆ retry_writes()

def retry_writes (   self)
If this instance should retry supported write operations.

◆ server_selection_timeout()

def server_selection_timeout (   self)
The server selection timeout for this instance in seconds.

◆ server_selector()

def server_selector (   self)

◆ write_concern()

def write_concern (   self)
A :class:`~pymongo.write_concern.WriteConcern` instance.

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