You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classSearch(BaseModel):
""" The base class for STAC API searches. https://github.com/radiantearth/stac-api-spec/blob/v1.0.0/item-search/README.md#query-parameter-table """collections: Optional[List[str]] =Noneids: Optional[List[str]] =Nonebbox: Optional[BBox] =Noneintersects: Optional[Intersection] =Nonedatetime: Optional[str] =Nonelimit: int=10
The text was updated successfully, but these errors were encountered:
stac-fastapi/stac_fastapi/types/stac_fastapi/types/search.py
Lines 56 to 64 in e4e4120
there seems to be really weird
type
definition here:collections
is set toOptional[str]
but then we usestr2list
converter to split a string to a list of stringids
bbox
is set toOptional[BBox]
but use a converter to convert a string to a list of floatdatetime
is set toOptional[DateTimeType]
(Tuple of datetime) and has astr_to_interval
converterIMO it should be either
or
FYI, the pydantic Search model is
The text was updated successfully, but these errors were encountered: