Skip to content

Commit

Permalink
add numberMatch and numberReturned in Collections model (#760)
Browse files Browse the repository at this point in the history
* add numberMatch and numberReturned in Collections model

* update stac-pydantic version
  • Loading branch information
vincentsarago authored Oct 14, 2024
1 parent 3c4ce2e commit ebb987c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Added

* Add `numberMatched` and `numberReturned` properties in `types.stac.ItemCollection` model
* Add `numberMatched` and `numberReturned` properties in `types.stac.Collections` model

## [3.0.3] - 2024-10-09

Expand Down
2 changes: 1 addition & 1 deletion stac_fastapi/types/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"fastapi>=0.109.0",
"attrs>=23.2.0",
"pydantic-settings>=2",
"stac_pydantic~=3.1",
"stac_pydantic>=3.1.3,<4.0",
"iso8601>=1.0.2,<2.2.0",
]

Expand Down
2 changes: 2 additions & 0 deletions stac_fastapi/types/stac_fastapi/types/stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ class Collections(TypedDict, total=False):

collections: List[Collection]
links: List[Dict[str, Any]]
numberMatched: Optional[int] = None
numberReturned: Optional[int] = None

0 comments on commit ebb987c

Please sign in to comment.