pyapacheatlas.core.discovery.purview.PurviewDiscoveryClient.suggest#

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

Execute a sugest search request on Azure Purview’s /catalog/api/search/suggest 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

Suggest Search results with a value field.

Return type

dict