cursus.core.deps.specification_registry

Specification registry for managing step specifications with context isolation.

This module provides the core registry functionality for storing, retrieving, and managing step specifications within isolated contexts.

class SpecificationRegistry(context_name='default')[source]

Bases: object

Context-aware registry for managing step specifications with isolation.

register(step_name, specification)[source]

Register a step specification.

get_specification(step_name)[source]

Get specification by step name.

get_specifications_by_type(step_type)[source]

Get all specifications of a given step type.

list_step_names()[source]

Get list of all registered step names.

list_step_types()[source]

Get list of all registered step types.

find_compatible_outputs(dependency_spec)[source]

Find outputs compatible with a dependency specification.