code: def __init__(
      self,
      preprocess_fn: Optional[Callable] = None,
      postprocess_fn: Optional[Callable] = None,
  ):
      self._preprocess_fn = preprocess_fn
      self._postprocess_fn = postprocess_fn
  
file_path: chitra/chitra/data_processing/processor.py
imports: from typing import Callable, Optional
label_desc: Use image node_id 1 to create a new DataProcessor object  with example: obj = DataProcessor(preprocess_fn, postprocess_fn)