Skip to content

topmark.registry.types

topmark / registry / types

Serializable metadata and definition types used by the registry layer.

FileTypeMeta dataclass

FileTypeMeta(
    *,
    namespace,
    local_key,
    description="",
    extensions=(),
    filenames=(),
    patterns=(),
    skip_processing=False,
    content_matcher=False,
    header_policy=_empty_header_policy(),
)

Stable, serializable metadata describing a registered file type.

qualified_key property

qualified_key

Return the qualified identity key for this file type instance.

Format: "<namespace>:<local_key>".

ProcessorMeta dataclass

ProcessorMeta(
    *,
    namespace,
    local_key,
    description="",
    block_prefix="",
    block_suffix="",
    line_indent="",
    line_prefix="",
    line_suffix="",
)

Stable, serializable metadata about a registered processor definition.

qualified_key property

qualified_key

Return the qualified identity key for this processor definition.

Format: "<namespace>:<local_key>".

ProcessorDefinition dataclass

ProcessorDefinition(
    *, namespace, local_key, processor_class
)

Stable definition of a registered processor identity and implementation class.

qualified_key property

qualified_key

Return the qualified identity key for this processor.

Format: "<namespace>:<local_key>".