Skip to content
heliaAOT
HELIA HUB

registry

Generic thread-safe registry primitives used by the explicit RegistryContext.

Re-exports

Name Source
RegistryBundle helia_aot.registry.context.RegistryBundle
RegistryContext helia_aot.registry.context.RegistryContext
build_default_registry_context helia_aot.registry.context.build_default_registry_context

Machine-readable model

  • RegistryclassThread-safe registry with optional key encoding.
class

Registry

Python

Thread-safe registry with optional key encoding.

helia_aot/registry/__init__.py:24

Registry(*, key_encoder: Callable[[K], str] | None = None)

Thread-safe registry with optional key encoding.

method

decorator

Python

Decorator helper to register callables/classes.

helia_aot/registry/__init__.py:66

decorator(key: K, *, overwrite: bool = False) -> Callable[[T], T]

Decorator helper to register callables/classes.