code: def find_config(prefix: str) -> str:
      
      matches = [conf for conf in config_models if conf.startswith(prefix)]
      if not matches:
          raise KeyError('No match found for prefix {}'.format(prefix))
      if prefix in matches:
          return prefix
      else:
          return sorted(matches)[0]
docs: Find the most recent config matching `prefix`