pyapacheatlas.core.discovery.purview.PurviewDiscoveryClient.autocomplete#

PurviewDiscoveryClient.autocomplete(keywords=None, filter=None, api_version='2022-03-01-preview', **kwargs)#

Execute an autocomplete search request on Azure Purview’s /catalog/api/search/autocomplete endpoint.

Parameters
  • body (dict) – An OPTIONAL fully formed json body. If provided, all other params will be ignored except api-version.

  • keywords (str) – The keywords applied to all fields that support autocomplete operation. It must be at least 1 character, and no more than 100 characters.

  • filter (dict) – A json object that includes and, not, or conditions and ultimately a dict that contains attributeName, operator, and attributeValue.

  • limit (int) – The number of search results to return.

  • api_version (str) – The Purview API version to use.

Returns

Autocomplete Search results with a value field.

Return type

dict