azure.purview.catalog.aio package

class azure.purview.catalog.aio.PurviewCatalogClient(endpoint: str, credential: AsyncTokenCredential, **kwargs: Any)[source]

Purview Catalog Service is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Catalog helps organizations get more value from their existing investments. This spec defines REST API of Purview Catalog Service.

Variables
Parameters
  • endpoint (str) – The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com.

  • credential (AsyncTokenCredential) – Credential needed for the client to connect to Azure.

Keyword Arguments

polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

async close()None[source]
send_request(request: azure.core.rest._rest_py3.HttpRequest, **kwargs: Any)Awaitable[azure.core.rest._rest_py3.AsyncHttpResponse][source]

Runs the network request through the client’s chained policies.

>>> from azure.core.rest import HttpRequest
>>> request = HttpRequest("GET", "https://www.example.org/")
<HttpRequest [GET], url: 'https://www.example.org/'>
>>> response = await client.send_request(request)
<AsyncHttpResponse: 200 OK>

For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart

Parameters

request (HttpRequest) – The network request you want to make. Required.

Keyword Arguments

stream (bool) – Whether the response payload will be streamed. Defaults to False.

Returns

The response of your network call. Does not do error handling on your response.

Return type

AsyncHttpResponse