docs: def places_autocomplete_query(client, input_text, offset=None, location=None,
                                radius=None, language=None):
      """
      Returns Place predictions given a textual search query, such as
      "pizza near New York", and optional geographic bounds.
  
      :param input_text: The text query on which to search.
      :type input_text: string
  
      :param offset: The position, in the input term, of the last character
          that the service uses to match predictions. For example, if the input
          is 'Google' and the offset is 3, the service will match on 'Goo'.
      :type offset: int
  
      :param location: The latitude/longitude value for which you wish to obtain the
          closest, human-readable address.
      :type location: string, dict, list, or tuple
  
      :param radius: Distance in meters within which to bias results.
      :type radius: number
  
      :param language: The language in which to return results.
      :type language: string
  
      :rtype: list of predictions
      """
      return _autocomplete(client, "query", input_text, offset=offset,
                           location=location, radius=radius, language=language)