Skip to content

Capability

Source code in docs_src/capo_cloudextensions/types/capability.py
class Capability(TypedDict, closed=True):
    id: "capo_cloudextensions.types.configuration_id.ConfigurationId"
    """A unique identifier for this capability within the extension's configuration."""
    purpose: "capo_cloudextensions.types.description_256.Description_256"
    """A description of why the extension needs this capability and how it will be used."""
    required: NotRequired["bool"]
    """Whether this capability is mandatory for the extension to function. Defaults to false."""
    definition: "capo_cloudextensions.types.capability_definition.CapabilityDefinition"
    """The type-specific details of the requested capability."""

definition instance-attribute

The type-specific details of the requested capability.

id instance-attribute

A unique identifier for this capability within the extension's configuration.

purpose instance-attribute

purpose: Description_256

A description of why the extension needs this capability and how it will be used.

required instance-attribute

required: NotRequired[bool]

Whether this capability is mandatory for the extension to function. Defaults to false.