class_docstr: Compressor for the zstd package.
class_docstr_tok: ["Compressor","for","the","zstd","package","."]
code: def register(cls, compressors: Dict[str, "Compressor"]) -> None:  # type: ignore
      if not _ZSTD_AVAILABLE:
          return
  
      # default
      compressors["zstd"] = ZSTDCompressor(4)
  
      for level in list(range(1, 23)):
          compressors[f"zstd:{level}"] = ZSTDCompressor(level)
  
file_path: pytorch-lightning/src/lightning/data/streaming/compression.py
imports: from abc import ABC, abstractclassmethod, abstractmethod
  from typing import Dict, TypeVar
  from lightning_utilities.core.imports import RequirementCache, requires
label_desc: Use image node_id 5 for calling the ZSTDCompressor obj's underlying member method code with example usage: obj.register(cls, compressors) without return types