Comments (1)
This was fixed, but a regression that was introduced in a recent refactor.
The response model for the collections endpoint is Collections
, which is the correct format; however, all_collections
on the backends and the base class (
This should instead construct a stac-pydantic Collections
object or a TypedDict with the appropriate entries, and return with the appropriate links (see the PC endpoint for reference)
This could either be solved by changing the all_collections signature and modifying the backend core clients, or translating the list of collections at the API level so that all backends use the same logic to construct the Collections response
from stac-fastapi.
Related Issues (20)
- INFERRED_LINK_RELS is missing `items` links? HOT 1
- Datetime as null is not accepted by the STAC FASTAPI HOT 8
- Aliases in FilterExtensionGetRequest model are not working
- Simple search returns items onlly with properties.datetime field HOT 3
- Becoming a maintainer on this project HOT 5
- Examine if pr 442 introduces breaking changes HOT 2
- Document new enhanced middleware configuration options
- Cannot use custom fields in Items HOT 9
- Introduce a tool to bump all version strings across project before release
- Deprecate Context Extension module
- PUT "/collections/{collection_id}" throws "update_collection() missing 1 required positional argument: 'collection'" HOT 3
- Integration testing with key stac-fastapi backends HOT 5
- pin sub-modules (api/extensions) to specific version HOT 4
- Detect disabled extensions in requests HOT 2
- types in `BaseSearchGetRequest`?
- How to tell if search is for single datetime? (Should `str_to_interval` return a single value for that?) HOT 7
- Remove pystac HOT 1
- Authentication and authorization implementation HOT 2
- Ensure Optional `query` Field Defaults to None for Pydantic V2 Compatibility
- move `filter extension` related code out of `types` submodule
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stac-fastapi.