yera.apps.registry
Process-local registry mapping app IDs to their metadata.
Used by the decorator to resolve the actual app name (including nested apps) when constructing AppRuntimeError on the consumer side.
Symbols
get_app_metadata
get_app_metadata(
app_id: str,
) → AppMetadata | NoneLook up metadata for the given app_id.
get_app_name
get_app_name(
app_id: str,
) → str | NoneReturn the display name for the given app_id, or None if unknown.
register_app
register_app(
app_id: str,
metadata: AppMetadata,
) → NoneRegister metadata for a given app_id in the current process.