Skip to content

Commit cb41ede

Browse files
[formrecognizer] Fix documentation (Azure#24269)
* fix missing brackets in docs * remove extra brackets
1 parent 6a83ffa commit cb41ede

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ def begin_recognize_custom_forms(self, model_id, form, **kwargs):
767767
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
768768
:return: An instance of an LROPoller. Call `result()` on the poller
769769
object to return a list[:class:`~azure.ai.formrecognizer.RecognizedForm`].
770-
:rtype: ~azure.core.polling.LROPoller[list[~azure.ai.formrecognizer.RecognizedForm]
770+
:rtype: ~azure.core.polling.LROPoller[list[~azure.ai.formrecognizer.RecognizedForm]]
771771
:raises ~azure.core.exceptions.HttpResponseError:
772772
773773
.. admonition:: Example:
@@ -851,7 +851,7 @@ def begin_recognize_custom_forms_from_url(self, model_id, form_url, **kwargs):
851851
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
852852
:return: An instance of an LROPoller. Call `result()` on the poller
853853
object to return a list[:class:`~azure.ai.formrecognizer.RecognizedForm`].
854-
:rtype: ~azure.core.polling.LROPoller[list[~azure.ai.formrecognizer.RecognizedForm]
854+
:rtype: ~azure.core.polling.LROPoller[list[~azure.ai.formrecognizer.RecognizedForm]]
855855
:raises ~azure.core.exceptions.HttpResponseError:
856856
"""
857857

sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ async def begin_recognize_custom_forms(
786786
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
787787
:return: An instance of an AsyncLROPoller. Call `result()` on the poller
788788
object to return a list[:class:`~azure.ai.formrecognizer.RecognizedForm`].
789-
:rtype: ~azure.core.polling.AsyncLROPoller[list[~azure.ai.formrecognizer.RecognizedForm]
789+
:rtype: ~azure.core.polling.AsyncLROPoller[list[~azure.ai.formrecognizer.RecognizedForm]]
790790
:raises ~azure.core.exceptions.HttpResponseError:
791791
792792
.. admonition:: Example:
@@ -871,7 +871,7 @@ async def begin_recognize_custom_forms_from_url(
871871
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
872872
:return: An instance of an AsyncLROPoller. Call `result()` on the poller
873873
object to return a list[:class:`~azure.ai.formrecognizer.RecognizedForm`].
874-
:rtype: ~azure.core.polling.AsyncLROPoller[list[~azure.ai.formrecognizer.RecognizedForm]
874+
:rtype: ~azure.core.polling.AsyncLROPoller[list[~azure.ai.formrecognizer.RecognizedForm]]
875875
:raises ~azure.core.exceptions.HttpResponseError:
876876
"""
877877

0 commit comments

Comments
 (0)