Skip to content

GetFlagResponse

Source code in docs_src/capo_appconfigcloudextension/types/get_flag_response.py
class GetFlagResponse(TypedDict, closed=True):
    enabled: "bool"
    """Whether the flag is enabled."""
    variant: NotRequired["str"]
    """The name of the variant the request context matched, absent when the flag has no variants."""
    attributes: NotRequired[
        "capo_appconfigcloudextension.types.flag_attributes.FlagAttributes"
    ]
    """The flag's attribute values, by attribute key, absent when the flag has none."""

attributes instance-attribute

attributes: NotRequired[FlagAttributes]

The flag's attribute values, by attribute key, absent when the flag has none.

enabled instance-attribute

enabled: bool

Whether the flag is enabled.

variant instance-attribute

variant: NotRequired[str]

The name of the variant the request context matched, absent when the flag has no variants.