-
Notifications
You must be signed in to change notification settings - Fork 233
/
azure.ai.textanalytics.TextAnalysisLROPoller.yml
116 lines (109 loc) · 3.84 KB
/
azure.ai.textanalytics.TextAnalysisLROPoller.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
### YamlMime:PythonClass
uid: azure.ai.textanalytics.TextAnalysisLROPoller
name: TextAnalysisLROPoller
fullName: azure.ai.textanalytics.TextAnalysisLROPoller
module: azure.ai.textanalytics
inheritances:
- typing_extensions.Protocol
summary: Implements a protocol which returned poller objects are consistent with.
constructor:
syntax: TextAnalysisLROPoller(*args, **kwargs)
methods:
- uid: azure.ai.textanalytics.TextAnalysisLROPoller.add_done_callback
name: add_done_callback
summary: 'Add callback function to be run once the long running operation
has completed - regardless of the status of the operation.'
signature: 'add_done_callback(func: Callable) -> None'
parameters:
- name: func
description: 'Callback function that takes at least one
argument, a completed LongRunningOperation.'
isRequired: true
types:
- <xref:callable>
- uid: azure.ai.textanalytics.TextAnalysisLROPoller.cancel
name: cancel
summary: Cancel the operation currently being polled.
signature: cancel() -> None
return:
description: None
types:
- <xref:None>
exceptions:
- type: azure.core.exceptions.HttpResponseError
description: When the operation has already reached a terminal state.
- uid: azure.ai.textanalytics.TextAnalysisLROPoller.continuation_token
name: continuation_token
summary: Return a continuation token that allows to restart the poller later.
signature: continuation_token() -> str
return:
description: An opaque continuation token
types:
- <xref:str>
- uid: azure.ai.textanalytics.TextAnalysisLROPoller.done
name: done
summary: Check status of the long running operation.
signature: done() -> bool
return:
description: '''True'' if the process has completed, else ''False''.'
types:
- <xref:bool>
- uid: azure.ai.textanalytics.TextAnalysisLROPoller.remove_done_callback
name: remove_done_callback
summary: Remove a callback from the long running operation.
signature: 'remove_done_callback(func: Callable) -> None'
parameters:
- name: func
description: The function to be removed from the callbacks.
isRequired: true
types:
- <xref:callable>
exceptions:
- type: ValueError
description: if the long running operation has already completed.
- uid: azure.ai.textanalytics.TextAnalysisLROPoller.result
name: result
summary: 'Return the result of the long running operation, or
the result available after the specified timeout.'
signature: 'result(timeout: int | None = None) -> PollingReturnType_co'
parameters:
- name: timeout
defaultValue: None
return:
description: 'The deserialized resource of the long running operation,
if one is available.'
exceptions:
- type: azure.core.exceptions.HttpResponseError
description: Server problem with the query.
- uid: azure.ai.textanalytics.TextAnalysisLROPoller.status
name: status
summary: Returns the current status string.
signature: status() -> str
return:
description: The current status string
types:
- <xref:str>
- uid: azure.ai.textanalytics.TextAnalysisLROPoller.wait
name: wait
summary: 'Wait on the long running operation for a specified length
of time. You can check if this call as ended with timeout with the
"done()" method.'
signature: 'wait(timeout: float | None = None) -> None'
parameters:
- name: timeout
description: 'Period of time to wait for the long running
operation to complete (in seconds).'
defaultValue: None
types:
- <xref:float>
exceptions:
- type: azure.core.exceptions.HttpResponseError
description: Server problem with the query.
attributes:
- uid: azure.ai.textanalytics.TextAnalysisLROPoller.details
name: details
summary: Long-running operation metadata.
return:
description: A mapping of details about the long-running operation.
types:
- <xref:typing.Mapping>[<xref:str>, <xref:typing.Any>]