code: def refresh_access_token(self, refresh_token):
          ''' Refreshes the current access token.
  
              Gets a new access token, updates client auth and returns it.
  
          Args:
  
              refresh_token (str): Refresh token to use
  
          Returns:
              The new access token
          '''
          request = self._get_request()
          response = request.post(self.OAUTH_TOKEN_URL, {
              "grant_type": "refresh_token",
              "refresh_token": refresh_token
          })
          self.auth = HSAccessTokenAuth.from_response(response)
          return self.auth.access_tokef refresh_access_token(self, refresh_token):
          ''' Refreshes the current access token.
  
              Gets a new access token, updates client auth and returns it.
  
          Args:
  
              refresh_token (str): Refresh token to use
  
          Returns:
              The new access token
          '''
          request = self._get_request()
          response = request.post(self.OAUTH_TOKEN_URL, {
              "grant_type": "refresh_token",
              "refresh_token": refresh_token
          })
          self.auth = HSAccessTokenAuth.from_response(response)
          return self.auth.access_token
docs: Refreshes the current access token.
  
              Gets a new access token, updates client auth and returns it.
  
          Args:
  
              refresh_token (str): Refresh token to use
  
          Returns:
              The new access token