@@ -41,29 +41,34 @@ def details(self) -> Mapping[str, Any]:
4141 :return: A mapping of details about the long-running operation.
4242 :rtype: Mapping[str, Any]
4343 """
44+ ...
4445
4546 def continuation_token (self ) -> str : # pylint: disable=no-self-use
4647 """Return a continuation token that allows to restart the poller later.
4748
4849 :returns: An opaque continuation token
4950 :rtype: str
5051 """
52+ ...
5153
5254 def status (self ) -> str : # pylint: disable=no-self-use
5355 """Returns the current status string.
5456
5557 :returns: The current status string
5658 :rtype: str
5759 """
60+ ...
5861
59- def result (self , timeout : Optional [int ] = None ) -> PollingReturnType : # pylint: disable=no-self-use, unused-argument
62+ # pylint: disable=no-self-use, unused-argument
63+ def result (self , timeout : Optional [int ] = None ) -> PollingReturnType_co :
6064 """Return the result of the long running operation, or
6165 the result available after the specified timeout.
6266
6367 :returns: The deserialized resource of the long running operation,
6468 if one is available.
6569 :raises ~azure.core.exceptions.HttpResponseError: Server problem with the query.
6670 """
71+ ...
6772
6873 def wait (self , timeout : Optional [float ] = None ) -> None : # pylint: disable=no-self-use, unused-argument
6974 """Wait on the long running operation for a specified length
@@ -74,13 +79,15 @@ def wait(self, timeout: Optional[float] = None) -> None: # pylint: disable=no-s
7479 operation to complete (in seconds).
7580 :raises ~azure.core.exceptions.HttpResponseError: Server problem with the query.
7681 """
82+ ...
7783
7884 def done (self ) -> bool : # pylint: disable=no-self-use
7985 """Check status of the long running operation.
8086
8187 :returns: 'True' if the process has completed, else 'False'.
8288 :rtype: bool
8389 """
90+ ...
8491
8592 def add_done_callback (self , func : Callable ) -> None : # pylint: disable=no-self-use, unused-argument
8693 """Add callback function to be run once the long running operation
@@ -89,13 +96,15 @@ def add_done_callback(self, func: Callable) -> None: # pylint: disable=no-self-
8996 :param callable func: Callback function that takes at least one
9097 argument, a completed LongRunningOperation.
9198 """
99+ ...
92100
93101 def remove_done_callback (self , func : Callable ) -> None : # pylint: disable=no-self-use, unused-argument
94102 """Remove a callback from the long running operation.
95103
96104 :param callable func: The function to be removed from the callbacks.
97105 :raises ValueError: if the long running operation has already completed.
98106 """
107+ ...
99108
100109 def cancel (self ) -> None : # pylint: disable=no-self-use
101110 """Cancel the operation currently being polled.
@@ -104,6 +113,7 @@ def cancel(self) -> None: # pylint: disable=no-self-use
104113 :rtype: None
105114 :raises ~azure.core.exceptions.HttpResponseError: When the operation has already reached a terminal state.
106115 """
116+ ...
107117
108118
109119class TextAnalyticsOperationResourcePolling (OperationResourcePolling ):
0 commit comments