code: def _Configuration__getstate__(self: Type) -> Dict[str, Any]:
      state = self.__dict__.copy()
  
      # Remove all loggers as they are not picklable. This removes the package_logger
      # and urllib3_logger. Note that we cannot remove the with:
      # `del state["logger"]["package_logger"]` as this would modify self.__dict__ due to
      # shallow copy.
      state["logger"] = {}
  
      # formatter, stream_handler and file_handler are not picklable
      state["logger_formatter"] = None
      state["logger_stream_handler"] = None
      state["logger_file_handler"] = None
      return state
  
imports: import logging
  from typing import Any, Dict, Type
label_desc: Use image node_id 2 for calling a global function with example usage: _Configuration__getstate__() and returns: state