MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / advance_cluster_times

Method advance_cluster_times

test/unified_format.py:459–463  ·  view source on GitHub ↗

Manually synchronize entities when desired

(self, cluster_time)

Source from the content-addressed store, hash-verified

457 return self._session_lsids[session_name]
458
459 def advance_cluster_times(self, cluster_time) -> None:
460 """Manually synchronize entities when desired"""
461 for entity in self._entities.values():
462 if isinstance(entity, ClientSession) and cluster_time:
463 entity.advance_cluster_time(cluster_time)
464
465
466class UnifiedSpecTestMixinV1(IntegrationTest):

Callers 2

_run_scenarioMethod · 0.45

Calls 2

valuesMethod · 0.80
advance_cluster_timeMethod · 0.45

Tested by

no test coverage detected