We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c49f9a commit 75ee3e9Copy full SHA for 75ee3e9
sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_lro.py
@@ -24,11 +24,12 @@
24
_SUCCEEDED = frozenset(["succeeded", "partiallycompleted", "partiallysucceeded"])
25
26
27
-PollingReturnType = TypeVar("PollingReturnType", covariant=True)
+PollingReturnType = TypeVar("PollingReturnType")
28
+PollingReturnType_co = TypeVar("PollingReturnType_co", covariant=True)
29
30
31
@runtime_checkable
-class TextAnalysisLROPoller(Protocol[PollingReturnType]):
32
+class TextAnalysisLROPoller(Protocol[PollingReturnType_co]):
33
"""Implements a protocol which returned poller objects are consistent with.
34
"""
35
0 commit comments