polling Package

Modules

async_base_polling
base_polling

Classes

AsyncLROPoller

Async poller for long running operations.

AsyncNoPolling

An empty async poller that returns the deserialized initial response.

AsyncPollingMethod

ABC class for polling method.

LROPoller

Poller for long running operations.

NoPolling

An empty poller that returns the deserialized initial response.

PollingMethod

ABC class for polling method.

Functions

async_poller

Async Poller for long running operations.

Deprecated since version 1.5.0: Use AsyncLROPoller instead.

async async_poller(client, initial_response, deserialization_callback, polling_method)

Parameters

client
PipelineClient
Required

A pipeline service client.

initial_response
PipelineResponse
Required

The initial call response

deserialization_callback
callable or Model
Required

A callback that takes a Response and return a deserialized object. If a subclass of Model is given, this passes "deserialize" as callback.

polling_method
PollingMethod
Required

The polling strategy to adopt