class_docstr: Save data items to an input stream.
      
class_docstr_tok: ["Save","data","items","to","an","input","stream","."]
code: def __enter__(self):
      log.debug("serializer_version = %d", self.serializer_version)
      pickle.dump(self.serializer_version, self.out_stream)
      log.debug("block_name = %s", self.block_name)
      pickle.dump(self.block_name, self.out_stream)
      log.debug("block_version = %d", self.block_version)
      pickle.dump(self.block_version, self.out_stream)
      return self
  
file_path: shap/shap/_serializable.py
imports: import inspect
  import logging
  import pickle
  import cloudpickle
  import numpy
label_desc: Use image node_id 2 for calling the Serializer obj's underlying member method code with example usage: obj.__enter__() and returns: self