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

Method __exit__

pymongo/synchronous/encryption.py:1257–1258  ·  view source on GitHub ↗
(self, exc_type: Any, exc_val: Any, exc_tb: Any)

Source from the content-addressed store, hash-verified

1255 return self
1256
1257 def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None:
1258 self.close()
1259
1260 def _check_closed(self) -> None:
1261 if self._encryption is None:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected