class_docstr: Base class for compression algorithm.
class_docstr_tok: ["Base","class","for","compression","algorithm","."]
code: def compress(self, data: bytes) -> bytes:
      pass
  
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 1 for calling the Compressor obj's underlying member method code with example usage: obj.compress(data) without return types