cadrumo.application.user_profile.presentation module

Profile presentation helpers consumed by the interactive entrypoint.

profile_field_shape_hint(field_type)[source]

Return the localized accepted-shape hint for a typed profile field.

Return type:

str

Parameters:

field_type (ProfileFieldType)

notice_presentation(notice)[source]

Project one resolved notice into the inert cross-entrypoint shape.

Return type:

NoticePresentation

Parameters:

notice (Notice)