Skip to content

Commit

Permalink
update changelog, remove redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-maschler committed Apr 5, 2024
1 parent 3d946f6 commit c9e6f0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

* Update to pydantic v2 and stac_pydantic v3
* Removed internal Search and Operator Types in favor of stac_pydantic Types
* Add switch to choose between TypeDict and StacPydantic response models
* Fix response model validation
* Add Response Model to OpenAPI, even if model validation is turned off
* Use status code 201 for Item/ Collection creation
* Add support for Python 3.12
* Replace Black with Ruff Format

Expand Down
6 changes: 2 additions & 4 deletions stac_fastapi/types/stac_fastapi/types/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,7 @@ def landing_page(self, **kwargs) -> stac.LandingPage:
)

# Add Collections links
_collections = self.all_collections(request=kwargs["request"])
collections = _collections
collections = self.all_collections(request=kwargs["request"])

for collection in collections["collections"]:
landing_page["links"].append(
Expand Down Expand Up @@ -573,8 +572,7 @@ async def landing_page(self, **kwargs) -> stac.LandingPage:
)

# Add Collections links
_collections = await self.all_collections(request=kwargs["request"])
collections = _collections
collections = await self.all_collections(request=kwargs["request"])

for collection in collections["collections"]:
landing_page["links"].append(
Expand Down

0 comments on commit c9e6f0d

Please sign in to comment.