cadrumo.application.user_profile.profile_keys module

Application-owned profile-key catalogue projection.

The operation-scoped setup flow is the sole authoring source. The catalogue is compiled for the caller’s pinned generation; no domain slot, registration push, or import-order bootstrap is involved.

profile_keys(operation)[source]

Compile and return profile keys from the caller’s pinned wizard flow.

Return type:

tuple[ProfileKey, ...]

Parameters:

operation (PinnedAuthorityOperation)

profile_key(raw, *, operation)[source]

Return the catalogue record matching raw after key normalisation.

Return type:

ProfileKey

Parameters:
optional_profile_keys(operation)[source]

Return catalogue entries whose requirement is OPTIONAL.

Return type:

tuple[ProfileKey, ...]

Parameters:

operation (PinnedAuthorityOperation)