@@ -170,8 +170,7 @@ async def detect_language( # type: ignore
170170 :return: The combined list of :class:`~azure.ai.textanalytics.DetectLanguageResult`
171171 and :class:`~azure.ai.textanalytics.DocumentError` in the order the original documents
172172 were passed in.
173- :rtype: list[~azure.ai.textanalytics.DetectLanguageResult,
174- ~azure.ai.textanalytics.DocumentError]
173+ :rtype: list[~azure.ai.textanalytics.DetectLanguageResult or ~azure.ai.textanalytics.DocumentError]
175174 :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError:
176175
177176 .. versionadded:: v3.1
@@ -258,8 +257,7 @@ async def recognize_entities( # type: ignore
258257 :return: The combined list of :class:`~azure.ai.textanalytics.RecognizeEntitiesResult` and
259258 :class:`~azure.ai.textanalytics.DocumentError` in the order the original documents were
260259 passed in.
261- :rtype: list[~azure.ai.textanalytics.RecognizeEntitiesResult,
262- ~azure.ai.textanalytics.DocumentError]
260+ :rtype: list[~azure.ai.textanalytics.RecognizeEntitiesResult or ~azure.ai.textanalytics.DocumentError]
263261 :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError:
264262
265263 .. versionadded:: v3.1
@@ -359,8 +357,7 @@ async def recognize_pii_entities( # type: ignore
359357 :return: The combined list of :class:`~azure.ai.textanalytics.RecognizePiiEntitiesResult`
360358 and :class:`~azure.ai.textanalytics.DocumentError` in the order the original documents
361359 were passed in.
362- :rtype: list[~azure.ai.textanalytics.RecognizePiiEntitiesResult,
363- ~azure.ai.textanalytics.DocumentError]
360+ :rtype: list[~azure.ai.textanalytics.RecognizePiiEntitiesResult or ~azure.ai.textanalytics.DocumentError]
364361 :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError:
365362
366363 .. versionadded:: v3.1
@@ -466,8 +463,7 @@ async def recognize_linked_entities( # type: ignore
466463 :return: The combined list of :class:`~azure.ai.textanalytics.RecognizeLinkedEntitiesResult`
467464 and :class:`~azure.ai.textanalytics.DocumentError` in the order the original documents
468465 were passed in.
469- :rtype: list[~azure.ai.textanalytics.RecognizeLinkedEntitiesResult,
470- ~azure.ai.textanalytics.DocumentError]
466+ :rtype: list[~azure.ai.textanalytics.RecognizeLinkedEntitiesResult or ~azure.ai.textanalytics.DocumentError]
471467 :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError:
472468
473469 .. versionadded:: v3.1
@@ -556,8 +552,7 @@ async def extract_key_phrases( # type: ignore
556552 :return: The combined list of :class:`~azure.ai.textanalytics.ExtractKeyPhrasesResult` and
557553 :class:`~azure.ai.textanalytics.DocumentError` in the order the original documents were
558554 passed in.
559- :rtype: list[~azure.ai.textanalytics.ExtractKeyPhrasesResult,
560- ~azure.ai.textanalytics.DocumentError]
555+ :rtype: list[~azure.ai.textanalytics.ExtractKeyPhrasesResult or ~azure.ai.textanalytics.DocumentError]
561556 :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError:
562557
563558 .. versionadded:: v3.1
@@ -646,8 +641,7 @@ async def analyze_sentiment( # type: ignore
646641 :return: The combined list of :class:`~azure.ai.textanalytics.AnalyzeSentimentResult` and
647642 :class:`~azure.ai.textanalytics.DocumentError` in the order the original documents were
648643 passed in.
649- :rtype: list[~azure.ai.textanalytics.AnalyzeSentimentResult,
650- ~azure.ai.textanalytics.DocumentError]
644+ :rtype: list[~azure.ai.textanalytics.AnalyzeSentimentResult or ~azure.ai.textanalytics.DocumentError]
651645 :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError:
652646
653647 .. versionadded:: v3.1
@@ -766,8 +760,8 @@ async def begin_analyze_healthcare_entities( # type: ignore
766760 :class:`~azure.ai.textanalytics.AnalyzeHealthcareEntitiesResult` and
767761 :class:`~azure.ai.textanalytics.DocumentError`.
768762 :rtype:
769- ~azure.ai.textanalytics.aio.AsyncAnalyzeHealthcareEntitiesLROPoller[~azure.core.paging .AsyncItemPaged[
770- Union[ ~azure.ai.textanalytics.AnalyzeHealthcareEntitiesResult, ~azure.ai.textanalytics.DocumentError] ]]
763+ ~azure.ai.textanalytics.aio.AsyncAnalyzeHealthcareEntitiesLROPoller[~azure.core.async_paging .AsyncItemPaged[
764+ ~azure.ai.textanalytics.AnalyzeHealthcareEntitiesResult or ~azure.ai.textanalytics.DocumentError]]
771765 :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError or NotImplementedError:
772766
773767 .. versionadded:: v3.1
@@ -955,9 +949,9 @@ async def begin_analyze_actions( # type: ignore
955949 :class:`~azure.ai.textanalytics.AnalyzeSentimentResult` of "world".
956950 :rtype:
957951 ~azure.ai.textanalytics.aio.AsyncAnalyzeActionsLROPoller[~azure.core.async_paging.AsyncItemPaged[
958- list[Union[ RecognizeEntitiesResult, RecognizeLinkedEntitiesResult, RecognizePiiEntitiesResult,
959- ExtractKeyPhrasesResult, AnalyzeSentimentResult, ExtractSummaryAction, RecognizeCustomEntitiesResult,
960- SingleCategoryClassifyResult, MultiCategoryClassifyResult, DocumentError] ]]]
952+ list[RecognizeEntitiesResult or RecognizeLinkedEntitiesResult or RecognizePiiEntitiesResult,
953+ ExtractKeyPhrasesResult or AnalyzeSentimentResult or ExtractSummaryAction or RecognizeCustomEntitiesResult
954+ or SingleCategoryClassifyResult or MultiCategoryClassifyResult or DocumentError]]]
961955 :raises ~azure.core.exceptions.HttpResponseError or TypeError or ValueError or NotImplementedError:
962956
963957 .. versionadded:: v3.1
0 commit comments