moo.sdk.accounts.account_id_for

moo.sdk.accounts.account_id_for(avatar_obj)

Return the stable account id for an avatar, or None.

The cheap form used on the provenance hot path (E): one indexed lookup, no avatar materialization beyond the id.

Parameters:

avatar_obj – a player avatar Object

Returns:

the account pk, or None