docs: def get_pending_bios_settings(self, only_allowed_settings=True):
          """Get current BIOS settings.
  
          :param: only_allowed_settings: True when only allowed BIOS settings
                  are to be returned. If False, All the BIOS settings supported
                  by iLO are returned.
          :return: a dictionary of pending BIOS settings. Depending
                   on the 'only_allowed_settings', either only the allowed
                   settings are returned or all the supported settings are
                   returned.
          :raises: IloError, on an error from iLO.
          :raises: IloCommandNotSupportedError, if the command is not supported
                   on the server.
          """
          headers, bios_uri, bios_settings = self._check_bios_resource()
          try:
              settings_config_uri = bios_settings['links']['Settings']['href']
          except KeyError:
              msg = ("Settings resource not found. Couldn't get pending BIOS "
                     "Settings.")
              raise exception.IloCommandNotSupportedError(msg)
  
          status, headers, config = self._rest_get(settings_config_uri)
          if status != 200:
              msg = self._get_extended_error(config)
              raise exception.IloError(msg)
  
          # Remove the "links" section
          config.pop("links", None)
  
          if only_allowed_settings:
              return utils.apply_bios_properties_filter(
                  config, constants.SUPPORTED_BIOS_PROPERTIES)
          return config