Skip to content

Commit

Permalink
Fix broken imports and bbox type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
dmannarino committed Jan 8, 2025
1 parent 361f425 commit e0fa91b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/pydantic/geostore.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class RWGeostoreAttributes(StrictBaseModel):
hash: str
provider: Dict
areaHa: float
bbox: List[float, float, float, float]
bbox: List[float]
lock: bool
info: WDPAInfo

Expand Down
4 changes: 3 additions & 1 deletion app/routes/geostore/geostore.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
GeostoreIn,
GeostoreResponse,
RWCalcAreaForGeostoreIn,
RWFindByIDsIn, RWGeostore, RWGeostoreResponse
RWFindByIDsIn,
RWGeostore,
RWGeostoreResponse
)
from ...utils.rw_api import (
find_by_ids,
Expand Down
2 changes: 1 addition & 1 deletion app/utils/rw_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
UnauthorizedError,
)
from ..models.pydantic.authentication import User
from ..models.pydantic.geostore import Geometry, GeostoreCommon, RWViewGeostore, RWWDPAGeostore, RWGeostore
from ..models.pydantic.geostore import Geometry, GeostoreCommon, RWGeostore
from ..settings.globals import RW_API_URL, SERVICE_ACCOUNT_TOKEN


Expand Down

0 comments on commit e0fa91b

Please sign in to comment.