azure.purview.workflow package

class azure.purview.workflow.PurviewWorkflowClient(endpoint: str, credential: TokenCredential, **kwargs: Any)[source]

Workflows are automated, repeatable business processes which allow organizations to track changes, enforce policy compliance, and ensure quality data across their data landscape.Workflow service is a micro service within Microsoft Purview to validate and orchestrate CUD (create, update, delete) operations on their data entities. This spec defines REST API of Purview Workflow Service, which could used for creating Purview workflow client.

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

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

Keyword Arguments:

api_version (str) – Api Version. Default value is “2023-10-01-preview”. Note that overriding this default value may result in unsupported behavior.

close() None[source]
send_request(request: HttpRequest, **kwargs: Any) HttpResponse[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 = client.send_request(request)
<HttpResponse: 200 OK>

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

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:

HttpResponse

Subpackages