code: def get_configured_hdfs_client():
      
      config = hdfs()
      custom = config.client
      conf_usinf_snakebite = [
          "snakebite_with_hadoopcli_fallback",
          "snakebite",
      ]
      if six.PY3 and (custom in conf_usinf_snakebite):
          warnings.warn(
              "snakebite client not compatible with python3 at the moment"
              "falling back on hadoopcli",
              stacklevel=2
          )
          return "hadoopcli"
      return custom
docs: This is a helper that fetches the configuration value for 'client' in
      the [hdfs] section. It will return the client that retains backwards
      compatibility when 'client' isn't configured.