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) -> Tuple[Any, Any, Callable]

Parameters

continuation_token
Required

get_continuation_token

get_continuation_token() -> str

initialize

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

Parameters

client
Required
initial_response
Required
deserialization_callback
Required

resource

resource() -> PollingReturnType

run

async run() -> None

status

status() -> str