Skip to content

Commit

Permalink
bool to none
Browse files Browse the repository at this point in the history
  • Loading branch information
marshHawk4 committed Aug 6, 2024
1 parent 5f9ed9a commit 3b3ee42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cdr_schemas/cdr_responses/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PolygonExtractionResponse(BaseModel):
system_version: str = Field(
default="", description="System version that published this item"
)
validated: bool = Field(default=False, description="Validated by human")
validated: Optional[bool] = Field(default=None, description="Validated by human")
legend_id: str = Field(default="", description="Associated CDR legend id")
projected_feature: List[ProjectedFeature] = Field(
default_factory=list,
Expand Down
2 changes: 1 addition & 1 deletion cdr_schemas/cdr_responses/legend_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class LegendItemResponse(BaseModel):
model_id: str = Field(
default="", description="Model id for the model used to generate this item"
)
validated: bool = Field(default=False, description="Validated by human")
validated: Optional[bool] = Field(default=None, description="Validated by human")
confidence: Optional[float] = None
map_unit_age_text: str = Field(default="", description="Age of map unit")
map_unit_lithology: str = Field(default="", description="Map unit lithology")
Expand Down

0 comments on commit 3b3ee42

Please sign in to comment.