DocumentTranslationLROPoller Class

A custom poller implementation for Document Translation. Call result() on the poller to return a pageable of DocumentStatus.

Inheritance
azure.core.polling._poller.LROPoller
DocumentTranslationLROPoller

Constructor

DocumentTranslationLROPoller(client: Any, initial_response: Any, deserialization_callback: Callable, polling_method: PollingMethod[PollingReturnType])

Parameters

client
initial_response
deserialization_callback
polling_method

Methods

from_continuation_token

from_continuation_token

from_continuation_token(polling_method: azure.ai.translation.document._polling.DocumentTranslationLROPollingMethod, continuation_token: str, **kwargs: Any) -> azure.ai.translation.document._polling.DocumentTranslationLROPoller

Parameters

cls
Required
polling_method
Required
continuation_token
Required

Attributes

details

The details for the translation operation

Return type

id

The ID for the translation operation

Return type

str