moo.sdk.objects.resolve_by_key
- moo.sdk.objects.resolve_by_key(namespace, key)
Resolve an Object by its indexed external key.
O(1) via the unique
(namespace, key)index — the fast path for data-generated worlds that resolve by a stable external id rather than by a fullProperty.valuescan.- Parameters:
namespace – the key namespace (e.g.
"zone_slug")key – the external key value
- Returns:
the mapped Object, or
None