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

Method timeout

pymongo/errors.py:55–60  ·  view source on GitHub ↗

True if this error was caused by a timeout. .. versionadded:: 4.2

(self)

Source from the content-addressed store, hash-verified

53
54 @property
55 def timeout(self) -> bool:
56 """True if this error was caused by a timeout.
57
58 .. versionadded:: 4.2
59 """
60 return False
61
62
63class ProtocolError(PyMongoError):

Calls

no outgoing calls