[formrecognizer] Adding initial get_styles() proposal#21336
[formrecognizer] Adding initial get_styles() proposal#21336catalinaperalta wants to merge 1 commit intoAzure:mainfrom
Conversation
| # type () -> [DocumentStyle] | ||
| styles = [] | ||
| for style in self._parent.styles: | ||
| if in_span(self, style): |
There was a problem hiding this comment.
in_span() is defined in the get_words() PR (#21335). For ease the code is:
def in_span(element, spans):
# type: (Any, list[Point]) -> bool
if hasattr(element, "span"):
for span in spans:
if element.span.offset >= span.offset and (
element.span.offset + element.span.length
) <= (span.offset + span.length):
return True
return False
|
API changes have been detected in API changes + def get_styles(self) -> [DocumentStyle]
+ |
|
Hi @catalinaperalta. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days. |
|
Hi @catalinaperalta. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing "/reopen" if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the "no-recent-activity" label; otherwise, this is likely to be closed again with the next cleanup pass. |
No description provided.