code: def get_most_recent_release(self, group, artifact, remote=False):
          
          url = self._base_url + '/api/search/latestVersion'
          params = {'g': group, 'a': artifact, 'repos': self._repo, 'remote': int(remote)}
          self._logger.debug("Using latest version API at %s - params %s", url, params)
  
          response = self._session.get(url, params=params)
          response.raise_for_status()
          return response.text.strip()
docs: Get the version number of the most recent release (non-integration version)
          of a particular group and artifact combination.
  
          :param str group: Group of the artifact to get the version of
          :param str artifact: Name of the artifact to get the version of
          :param bool remote: Should remote repositories be searched to find the latest
              version? Note this can make the request much slower. Default is false.
          :return: Version number of the most recent release
          :rtype: str
          :raises requests.exceptions.HTTPError: For any non-success HTTP responses
              from the Artifactory API.