moo.sdk.objects.prefetch_property

moo.sdk.objects.prefetch_property(objects, name)

Pre-warm the session property cache for name across all objects in 2 DB queries.

After this call, get_property(name) on any of these objects hits the in-process cache — no further DB or Redis I/O. Handles inheritance via AncestorCache with nearest-ancestor-wins semantics (same as get_property).

Objects whose property resolves to missing are also marked so get_property raises NoSuchPropertyError without a DB hit.

Return type:

None