Hi! I remember while creating pydantic models for pydantic program, there was a way to explain what each field in a class represent, e.g:
class ClimateChangeTarget(BaseModel):
"""Data model for climate change target"""
target_reduction_of_emission: str # I want to write what I mean by this field
base_year: int # I want to write what I mean by this field
timeline: str # I want to write what I mean by this field
target_description: str # I want to write what I mean by this field
class Data101Model(BaseModel):
"""Data model for climate change targets"""
overall_target: ClimateChangeTarget # I want to write what I mean by this field
scope_1: ClimateChangeTarget # I want to write what I mean by this field
scope_2: ClimateChangeTarget # I want to write what I mean by this field
scope_3: ClimateChangeTarget # I want to write what I mean by this field
How to declare my fields with explanations of each field?