From d90cb9f1ecaed9c2268ae3e9041fc6f099943dc5 Mon Sep 17 00:00:00 2001 From: Catalina Peralta Date: Tue, 2 Nov 2021 17:30:14 -0700 Subject: [PATCH 1/4] update changelog for release --- sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md index 156f783cc7c6..93c2e4696b54 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 3.2.0b2 (Unreleased) +## 3.2.0b2 (2021-11-09) ### Features Added - Added `get_words` methods on `AnalyzedDocument`, `DocumentEntity`, `DocumentField`, `DocumentLine`, `DocumentKeyValueElement`, `DocumentTable`, `DocumentTableCell`. @@ -9,10 +9,6 @@ ### Breaking Changes - Renamed `DocumentElement` to `DocumentContentElement`. -### Bugs Fixed - -### Other Changes - ## 3.2.0b1 (2021-10-07) This version of the SDK defaults to the latest supported API version, which is currently 2021-09-30-preview. From 9e2b8c8c90e738f95ab5a31f22d70741e6de837e Mon Sep 17 00:00:00 2001 From: Catalina Peralta Date: Wed, 3 Nov 2021 16:43:51 -0700 Subject: [PATCH 2/4] update samples readme --- sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md index f10a6f8444ce..af2b297d7a09 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md @@ -39,6 +39,7 @@ All of these samples need the endpoint to your Form Recognizer resource ([instru |[sample_manage_models.py][sample_manage_models] and [sample_manage_models_async.py][sample_manage_models_async]|Manage the models in your account| |[sample_get_operations.py][sample_get_operations] and [sample_get_operations_async.py][sample_get_operations_async]|Get and list the document model operations created within the past 24 hours| |[sample_copy_model.py][sample_copy] and [sample_copy_model_async.py][sample_copy_async]|Copy a custom model from one Form Recognizer resource to another| +|[sample_get_document_elements.py][sample_get_document_elements] and [sample_get_document_elements_async.py][sample_get_document_elements_async]|Get document elements related to other elements returned after an analysis operation| ## Samples for client library versions 3.1.X @@ -135,6 +136,8 @@ what you can do with the Azure Form Recognizer client library. [sample_get_operations_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_get_operations_async.py [sample_copy]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_copy_model.py [sample_copy_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_copy_model_async.py +[sample_get_document_elements]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/sample_get_document_elements.py +[sample_get_document_elements_async]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_get_document_elements_async.py [sample_authentication]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.1/sample_authentication.py From 54351268b895afd534fed2b6d752b31a9cb53750 Mon Sep 17 00:00:00 2001 From: Catalina Peralta Date: Wed, 3 Nov 2021 16:45:42 -0700 Subject: [PATCH 3/4] add changelog entry for new samples --- sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md index 93c2e4696b54..b9f2557b1ce7 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md @@ -5,6 +5,7 @@ ### Features Added - Added `get_words` methods on `AnalyzedDocument`, `DocumentEntity`, `DocumentField`, `DocumentLine`, `DocumentKeyValueElement`, `DocumentTable`, `DocumentTableCell`. - Added `get_lines` methods on `AnalyzedDocument`, `DocumentEntity`, `DocumentField`, `DocumentKeyValueElement`, `DocumentTable`, `DocumentTableCell`. +- Added samples showing how to use `get_words` and `get_lines` under `/samples/v3.2-beta`: `sample_get_document_elements.py` and `sample_get_document_elements_async.py`. ### Breaking Changes - Renamed `DocumentElement` to `DocumentContentElement`. From efcbb8ca852233d3191ec779c3f2e4f892041faf Mon Sep 17 00:00:00 2001 From: Catalina Peralta Date: Thu, 4 Nov 2021 11:29:16 -0700 Subject: [PATCH 4/4] reword samples entry --- sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md index af2b297d7a09..0d33f92cea29 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md @@ -39,7 +39,7 @@ All of these samples need the endpoint to your Form Recognizer resource ([instru |[sample_manage_models.py][sample_manage_models] and [sample_manage_models_async.py][sample_manage_models_async]|Manage the models in your account| |[sample_get_operations.py][sample_get_operations] and [sample_get_operations_async.py][sample_get_operations_async]|Get and list the document model operations created within the past 24 hours| |[sample_copy_model.py][sample_copy] and [sample_copy_model_async.py][sample_copy_async]|Copy a custom model from one Form Recognizer resource to another| -|[sample_get_document_elements.py][sample_get_document_elements] and [sample_get_document_elements_async.py][sample_get_document_elements_async]|Get document elements related to other elements returned after an analysis operation| +|[sample_get_document_elements.py][sample_get_document_elements] and [sample_get_document_elements_async.py][sample_get_document_elements_async]|Get document elements, like words and lines, related to other elements returned after an analysis operation| ## Samples for client library versions 3.1.X