()
| 44 | |
| 45 | |
| 46 | def _have_zstd() -> bool: |
| 47 | try: |
| 48 | if sys.version_info >= (3, 14): |
| 49 | from compression import zstd |
| 50 | else: |
| 51 | from backports import zstd # noqa: F401 |
| 52 | |
| 53 | return True |
| 54 | except ImportError: |
| 55 | return False |
| 56 | |
| 57 | |
| 58 | def validate_compressors(dummy: Any, value: Union[str, Iterable[str]]) -> list[str]: |
no outgoing calls