code: def get_config():
      
      if session.config is None:
          path = session.default_config_path
          if os.path.isfile(path):
              logging.info("LOADING FROM: {}".format(path))
              session.config = load_config(path)
          else:
              session.config = Config()
              logging.info("using default session: {}, path does not exist: {}".format(session, path))
      else:
          logging.info("Using pre-loaded object: {}".format(session.config))
      return session.config
docs: Return configuration for current session.
  
      When called for the first time, this will create a config object, using
      whatever is the default load path to find the config yaml