Skip to content

Commit

Permalink
updated format of projected bbox
Browse files Browse the repository at this point in the history
  • Loading branch information
marshHawk4 committed Jul 4, 2024
1 parent 1b66dfa commit f7512d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions cdr_schemas/cdr_responses/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ class ProjectedFeature(BaseModel):
projected_geojson: Optional[Union[Polygon, Point, Line]] = Field(
description="Projected geojson in EPSG 4326"
)
projected_bbox: List[Union[float, int]] = Field(
default_factory=list, description="Projected bbox in EPSG 4326"
)
projected_bbox: Optional[Polygon] = Field(default=None, description="Optional bbox")


class PolygonExtractionResponse(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cdr_schemas"
version = "0.3.3"
version = "0.3.4"
description = "CDR Schemas"
authors = []
readme = "README.md"
Expand Down

0 comments on commit f7512d8

Please sign in to comment.