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

Function _have_zlib

pymongo/compression_support.py:37–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def _have_zlib() -> bool:
38 try:
39 import zlib # noqa: F401
40
41 return True
42 except ImportError:
43 return False
44
45
46def _have_zstd() -> bool:

Callers 1

validate_compressorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected