education
¶
BaseEducationEntry
¶
Bases: BaseEntry
Education entry fields without date and complex fields.
Why
Separating education-specific fields (institution, area, degree) from date/location fields enables EducationEntry to inherit from both this class and BaseEntryWithComplexFields, controlling field ordering in the final model so institution/area/degree appear before dates.
area = pydantic.Field(description='Field of study or major.', examples=['Mechanical Engineering', 'Computer Science', 'Electrical Engineering'])
class-attribute
instance-attribute
¶
degree = pydantic.Field(default=None, examples=['BS', 'BA', 'PhD', 'MS'])
class-attribute
instance-attribute
¶
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.
institution = pydantic.Field(examples=['Boğaziçi University', 'MIT', 'Harvard University'])
class-attribute
instance-attribute
¶
model_config = pydantic.ConfigDict(json_schema_extra={'description': None})
class-attribute
instance-attribute
¶
EducationEntry
¶
Bases: BaseEntryWithComplexFields, BaseEducationEntry
area = pydantic.Field(description='Field of study or major.', examples=['Mechanical Engineering', 'Computer Science', 'Electrical Engineering'])
class-attribute
instance-attribute
¶
date = pydantic.Field(default=None, description="The date of this event in YYYY-MM-DD, YYYY-MM, or YYYY format, or any custom text like 'Fall 2023'. Use this for single-day or imprecise dates. For date ranges, use `start_date` and `end_date` instead.", examples=['2020-09-24', '2020-09', '2020', 'Fall 2023', 'Summer 2020'])
class-attribute
instance-attribute
¶
degree = pydantic.Field(default=None, examples=['BS', 'BA', 'PhD', 'MS'])
class-attribute
instance-attribute
¶
end_date = pydantic.Field(default=None, description='The end date in YYYY-MM-DD, YYYY-MM, or YYYY format. Use "present" for ongoing events, or omit it to indicate the event is ongoing.', examples=['2024-05-20', '2024-05', '2024', 'present'])
class-attribute
instance-attribute
¶
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.