Skip to content

Commit 10a1322

Browse files
[formrecognizer] Remove get children methods (#21602)
* remove get_words and get_lines methods on models * remove references to parent elements * remove extra tests * delete recordings * update sample to use document get_words * remove references to deleted methods in samples * update changelog * remove references to old samples in README * add error for DocumentLines converted from dicts * shorten long line
1 parent 8b3f0b8 commit 10a1322

18 files changed

+585
-4961
lines changed

sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
## 3.2.0b2 (2021-11-09)
44

55
### Features Added
6-
- Added `get_words` methods on `AnalyzedDocument`, `DocumentEntity`, `DocumentField`, `DocumentLine`, `DocumentKeyValueElement`, `DocumentTable`, `DocumentTableCell`.
7-
- Added `get_lines` methods on `AnalyzedDocument`, `DocumentEntity`, `DocumentField`, `DocumentKeyValueElement`, `DocumentTable`, `DocumentTableCell`.
8-
- 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`.
6+
- Added `get_words()` on `DocumentLine`.
7+
- Added samples showing how to use `get_words()` on a `DocumentLine` under `/samples/v3.2-beta`: `sample_get_words_on_document_line.py` and `sample_get_words_on_document_line_async.py`.
98

109
### Breaking Changes
1110
- Renamed `DocumentElement` to `DocumentContentElement`.

0 commit comments

Comments
 (0)