From 3d16eaff03503f4a6da3cd8464565faca062735c Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Thu, 28 Jan 2021 12:36:21 -0800 Subject: [PATCH 1/2] update pages description --- .../ai/formrecognizer/_form_recognizer_client.py | 12 ++++++------ .../aio/_form_recognizer_client_async.py | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py index 865499923ffd..c3d56dac386d 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py @@ -443,9 +443,9 @@ def begin_recognize_content(self, form, **kwargs): :param form: JPEG, PNG, PDF, TIFF, or BMP type file stream or bytes. :type form: bytes or IO[bytes] - :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the - pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or - range with a comma. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", 5-6"]`. Separate each page number or range with a comma. :keyword str language: The BCP-47 language code of the text in the document. See supported language codes here: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support. @@ -515,9 +515,9 @@ def begin_recognize_content_from_url(self, form_url, **kwargs): :param str form_url: The URL of the form to analyze. The input must be a valid, encoded URL of one of the supported formats: JPEG, PNG, PDF, TIFF, or BMP. - :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the - pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or - range with a comma. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", 5-6"]`. Separate each page number or range with a comma. :keyword str language: The BCP-47 language code of the text in the document. See supported language codes here: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py index 7bbad350c039..2e5e7c8a44bc 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py @@ -445,9 +445,9 @@ async def begin_recognize_content( :param form: JPEG, PNG, PDF, TIFF, or BMP type file stream or bytes. :type form: bytes or IO[bytes] - :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the - pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or - range with a comma. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", 5-6"]`. Separate each page number or range with a comma. :keyword str language: The BCP-47 language code of the text in the document. See supported language codes here: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support. @@ -516,9 +516,9 @@ async def begin_recognize_content_from_url(self, form_url: str, **kwargs: Any) - :param str form_url: The URL of the form to analyze. The input must be a valid, encoded URL of one of the supported formats: JPEG, PNG, PDF, TIFF, or BMP. - :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the - pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or - range with a comma. + :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers + and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like + `pages=["1-3", 5-6"]`. Separate each page number or range with a comma. :keyword str language: The BCP-47 language code of the text in the document. See supported language codes here: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support. From e413acd65f025893c6338c2f1979651e57a724db Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Thu, 28 Jan 2021 12:59:10 -0800 Subject: [PATCH 2/2] missed a parentheses --- .../azure/ai/formrecognizer/_form_recognizer_client.py | 4 ++-- .../ai/formrecognizer/aio/_form_recognizer_client_async.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py index c3d56dac386d..ebf1eb04e064 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py @@ -445,7 +445,7 @@ def begin_recognize_content(self, form, **kwargs): :type form: bytes or IO[bytes] :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like - `pages=["1-3", 5-6"]`. Separate each page number or range with a comma. + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :keyword str language: The BCP-47 language code of the text in the document. See supported language codes here: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support. @@ -517,7 +517,7 @@ def begin_recognize_content_from_url(self, form_url, **kwargs): of one of the supported formats: JPEG, PNG, PDF, TIFF, or BMP. :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like - `pages=["1-3", 5-6"]`. Separate each page number or range with a comma. + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :keyword str language: The BCP-47 language code of the text in the document. See supported language codes here: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py index 2e5e7c8a44bc..f97f25011e56 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py @@ -447,7 +447,7 @@ async def begin_recognize_content( :type form: bytes or IO[bytes] :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like - `pages=["1-3", 5-6"]`. Separate each page number or range with a comma. + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :keyword str language: The BCP-47 language code of the text in the document. See supported language codes here: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support. @@ -518,7 +518,7 @@ async def begin_recognize_content_from_url(self, form_url: str, **kwargs: Any) - of one of the supported formats: JPEG, PNG, PDF, TIFF, or BMP. :keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like - `pages=["1-3", 5-6"]`. Separate each page number or range with a comma. + `pages=["1-3", "5-6"]`. Separate each page number or range with a comma. :keyword str language: The BCP-47 language code of the text in the document. See supported language codes here: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support.