code: def series_hashable(
      fn: Callable[
          [Settings, pd.Series, dict], Tuple[Settings, pd.Series, dict]
      ]
  ) -> Callable[
      [Settings, pd.Series, dict], Tuple[Settings, pd.Series, dict]
  ]:
      @functools.wraps(fn)
      def inner(
          config: Settings, series: pd.Series, summary: dict
      ) -> Tuple[Settings, pd.Series, dict]:
          if not summary["hashable"]:
              return config, series, summary
          return fn(config, series, summary)
  
      return inner
  
imports: import functools
  from typing import Any, Callable, Optional, Tuple, TypeVar
  import numpy
  import pandas
  from multimethod import multimethod
  from scipy.stats import chisquare
  from ydata_profiling.config import Settings
label_desc: Use image node_id 4 for calling a global function with example usage: series_hashable(fn) and returns: inner, fn, config,  series,  summary