Skip to content

TreatmentInput

Source code in docs_src/capo_appconfig/types/treatment_input.py
class TreatmentInput(TypedDict, closed=True):
    weight: "capo_appconfig.types.weight.Weight"
    """<p>The traffic allocation weight for this treatment.</p>"""
    description: NotRequired["capo_appconfig.types.description.Description"]
    """<p>A description of the treatment.</p>"""
    flag_value: "capo_appconfig.types.flag_value.FlagValue"
    """<p>The feature flag value to serve to users assigned to this treatment.</p>"""

description instance-attribute

description: NotRequired[Description]

A description of the treatment.

flag_value instance-attribute

flag_value: FlagValue

The feature flag value to serve to users assigned to this treatment.

weight instance-attribute

weight: Weight

The traffic allocation weight for this treatment.