class_docstr: Datmo Config properties
  
  Parameters
  ----------
  home : str
      project home directory
  damto_directory_name : str
      datmo directory name
  remote_credentials : tuple
  
  Returns
  -------
  Config
    Config Singleton
code: def cache_setting(method, key=None, expires_min=60, ignore_values=[]):
      name = (
          key
          if key is not None
          else method.__module__ + "." + method.__name__
      )
      config = Config()
  
      def fn(*args, **kw):
          cached_val = config.get_cache_item(name)
          if cached_val is not None:
              return cached_val
          result = method(*args, **kw)
          if not result in ignore_values:
              config.set_cache_item(name, result, expires_min)
          return result
  
      return fn
  
file_path: datmo/datmo/config.py
imports: import logging
  import os
  import datetime
  from datmo.core.util.logger import DatmoLogger
  from datmo.core.util.json_store import JSONStore
  from datmo.core.util.misc_functions import parameterized
label_desc: Use image node_id 4 for calling the Config obj's underlying member method code with example usage: obj.cache_setting(method, key, expires_min, ignore_values) and returns: fn, result, cached_val