OpenQuizz
Une application de gestion des contenus pédagogiques
pymongo.topology_description Namespace Reference

Data Structures

class  TopologyDescription
 

Functions

def updated_topology_description (topology_description, server_description)
 

Variables

 TOPOLOGY_TYPE
 
 SRV_POLLING_TOPOLOGIES
 

Function Documentation

◆ updated_topology_description()

def pymongo.topology_description.updated_topology_description (   topology_description,
  server_description 
)
Return an updated copy of a TopologyDescription.

:Parameters:
  - `topology_description`: the current TopologyDescription
  - `server_description`: a new ServerDescription that resulted from
    an ismaster call

Called after attempting (successfully or not) to call ismaster on the
server at server_description.address. Does not modify topology_description.

Variable Documentation

◆ SRV_POLLING_TOPOLOGIES

SRV_POLLING_TOPOLOGIES

◆ TOPOLOGY_TYPE

TOPOLOGY_TYPE