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

Public Member Functions

def __new__ (cls, name=None, version=None, platform=None)
 

Detailed Description

Info about a driver wrapping PyMongo.

The MongoDB server logs PyMongo's name, version, and platform whenever
PyMongo establishes a connection. A driver implemented on top of PyMongo
can add its own info to this log message. Initialize with three strings
like 'MyDriver', '1.2.3', 'some platform info'. Any of these strings may be
None to accept PyMongo's default.

Member Function Documentation

◆ __new__()

def __new__ (   cls,
  name = None,
  version = None,
  platform = None 
)

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