Skip to content

QuestionOption

Source code in docs_src/capo_elementalinference/types/question_option.py
class QuestionOption(TypedDict, closed=True):
    name: "capo_elementalinference.types.option_name.OptionName"
    """<p>A name for the option. The name must be unique among the options of the question. The name can be up to 64 characters. It must start with a letter or an underscore, and can contain only the letters A-Z and a-z, the digits 0-9, and underscores. </p>"""
    text: "capo_elementalinference.types.option_text.OptionText"
    """<p>The text of the option. The text must be unique among the options of the question, ignoring case. The text can be up to 16 bytes, encoded in UTF-8. It can contain the same characters as the text of a question. </p>"""

name instance-attribute

name: OptionName

A name for the option. The name must be unique among the options of the question. The name can be up to 64 characters. It must start with a letter or an underscore, and can contain only the letters A-Z and a-z, the digits 0-9, and underscores.

text instance-attribute

text: OptionText

The text of the option. The text must be unique among the options of the question, ignoring case. The text can be up to 16 bytes, encoded in UTF-8. It can contain the same characters as the text of a question.