Skip to content

WarningsListItem

Source code in docs_src/capo_comprehend/types/warnings_list_item.py
class WarningsListItem(TypedDict, closed=True):
    page: NotRequired["capo_comprehend.types.integer.Integer"]
    """<p>Page number in the input document.</p>"""
    warn_code: NotRequired[
        "capo_comprehend.types.page_based_warning_code.PageBasedWarningCode"
    ]
    """<p>The type of warning.</p>"""
    warn_message: NotRequired["capo_comprehend.types.string.String"]
    """<p>Text message associated with the warning.</p>"""

page instance-attribute

page: NotRequired[Integer]

Page number in the input document.

warn_code instance-attribute

warn_code: NotRequired[PageBasedWarningCode]

The type of warning.

warn_message instance-attribute

warn_message: NotRequired[String]

Text message associated with the warning.