AsyncPollingMethod Class

ABC class for polling method.

Inheritance
AsyncPollingMethod

Constructor

AsyncPollingMethod()

Methods

finished
from_continuation_token
get_continuation_token
initialize
resource
run
status

finished

finished() -> bool

from_continuation_token

from_continuation_token(continuation_token: str, **kwargs: Any) -> Tuple[Any, Any, Any]

Parameters

Name Description
continuation_token
Required

get_continuation_token

get_continuation_token() -> str

initialize

initialize(client: Any, initial_response: Any, deserialization_callback: Any) -> None

Parameters

Name Description
client
Required
initial_response
Required
deserialization_callback
Required

resource

resource() -> PollingReturnType_co

run

async run() -> None

status

status() -> str