Skip to content
heliaAOT
API Reference
HELIA HUB

presentation

Shared registered-platform facts for discovery and documentation.

Machine-readable model

  • platform_recordfunctionThe configuration a resolved platform gives a conversion, and where each value came from.
function

The configuration a resolved platform gives a conversion, and where each value came from.

helia_aot/platforms/presentation.py:85

platform_record(platform: SocPlatform) -> dict[str, Any]

The configuration a resolved platform gives a conversion, and where each value came from.

Provisional: importable, but outside the compatibility promise; a minor release can change or remove it.

The keys of :func:describe_platform and :func:with_catalog_facts (target, and each memory’s regions and dma_boundary), plus schema (this record’s version), facts, boot, addons, core_lineage and catalog (the catalog identity, identity_record), which are None or empty for a platform without a binding. A platform derived from its catalog target (facts catalog) also has min_alignment_origin (policy or caller), min_alignment_derived, each memory’s derived_bytes and reserved, left_out ({region, memory, reason} per region no budget uses) and, when the enabled set differs from the derived one, derived_capabilities. Provisional.

Parameters of platform_record
NameTypeDefaultDescription
platformSocPlatformRequiredA platform ``resolve_platform`` returned.
Returns of platform_record
TypeDescription
dict[str, Any]dict[str, Any]: The record, JSON data independent of the platform.
Errors raised by platform_record
TypeDescription
InvalidConfigErrorIf a built-in bound on use has a side-loaded source that cannot be loaded, naming it.