Skip to content

Warning

Source code in docs_src/capo_kendra/types/warning.py
class Warning(TypedDict, closed=True):
    message: NotRequired["capo_kendra.types.warning_message.WarningMessage"]
    """<p>The message that explains the problem with the query.</p>"""
    code: NotRequired["capo_kendra.types.warning_code.WarningCode"]
    """<p>The code used to show the type of warning for the query.</p>"""

code instance-attribute

code: NotRequired[WarningCode]

The code used to show the type of warning for the query.

message instance-attribute

message: NotRequired[WarningMessage]

The message that explains the problem with the query.