Skip to content

entry

entry_type_to_snake_case_pattern = re.compile('(?<!^)(?=[A-Z])') module-attribute

BaseEntry

Bases: BaseModelWithExtraKeys

Base class for all CV entry types.

Why

All entry types share common configuration (extra keys allowed for template fields, JSON schema description suppressed). This base provides the shared config and entry type introspection.

entry_type_in_snake_case cached property

Convert class name to snake_case for template attribute lookup.

Why

Template collections store entry templates keyed by snake_case entry type names (e.g., education_entry). This property enables dynamic lookup from the class name.

Returns:

  • str

    Snake_case version of the entry class name.

model_config = pydantic.ConfigDict(json_schema_extra={'description': None}) class-attribute instance-attribute