code: def read_config(path=None, final=False):
      
      try:
          with open(config_path(path, final=final), 'r') as configfile:
              return yaml.safe_load(configfile) or {}
      except FileNotFoundError:
          return {}
docs: Read Renku configuration.