moo.core.models.external_key

Indexed external-key resolution.

Bootstrap generation resolves objects by a stable external key (zone_slug, location_slug, a ZIL object id). Property.value is unindexed, so resolve-by-property is a full scan; this dedicated, indexed (namespace, key) -> object table gives generators an O(1), idempotent resolve without bulk-loading — opt-in, rather than indexing every property value.

Classes

ExternalKey(*args, **kwargs)

A stable external identifier mapped to an Object, unique per namespace.