polling Package

Modules

poller

Classes

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.

async async_poller(client, initial_response, deserialization_callback, polling_method)

Parameters

client
ServiceClient
Required

A msrest service client. Can be a SDK client and it will be casted to a ServiceClient.

initial_response
ClientResponse or ClientRawResponse
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