MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / supports_failCommand_fail_point

Method supports_failCommand_fail_point

test/__init__.py:808–813  ·  view source on GitHub ↗

Does the server support the failCommand fail point?

(self)

Source from the content-addressed store, hash-verified

806
807 @property
808 def supports_failCommand_fail_point(self):
809 """Does the server support the failCommand fail point?"""
810 if self.is_mongos:
811 return self.version.at_least(4, 1, 5) and self.test_commands_enabled
812 else:
813 return self.version.at_least(4, 0) and self.test_commands_enabled
814
815 @property
816 def requires_hint_with_min_max_queries(self):

Callers

nothing calls this directly

Calls 1

at_leastMethod · 0.80

Tested by

no test coverage detected