Skip to content

ComponentState

Source code in docs_src/capo_imagebuilder/types/component_state.py
class ComponentState(TypedDict, closed=True):
    status: NotRequired["capo_imagebuilder.types.component_status.ComponentStatus"]
    """<p>The current state of the component. Components with a status of <code>DEPRECATED</code> or <code>DISABLED</code> can't be added to new recipes.</p>"""
    reason: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>Describes how or why the component changed state.</p>"""

reason instance-attribute

reason: NotRequired[NonEmptyString]

Describes how or why the component changed state.

status instance-attribute

status: NotRequired[ComponentStatus]

The current state of the component. Components with a status of DEPRECATED or DISABLED can't be added to new recipes.