Skip to content

kiara.metadata

MetadataModel pydantic-model

Base class for classes that represent value metadata in kiara.

get_type_metadata() classmethod

Return all metadata associated with this module type.

Source code in kiara/metadata/__init__.py
@classmethod
def get_type_metadata(cls) -> "MetadataModelMetadata":
    """Return all metadata associated with this module type."""

    from kiara.metadata.core_models import MetadataModelMetadata

    return MetadataModelMetadata.from_model_class(model_cls=cls)

ValueTypeAndDescription pydantic-model

description: str pydantic-field required

The description for the value.

required: bool pydantic-field required

Whether this value is required

type: str pydantic-field required

The value type.

value_default: Any pydantic-field

Default for the value.