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
$ curl http://localhost:8000/search
{"code":"AttributeError","description":"'SearchPostRequest' object has no attribute 'fields'"}%
Expected behavior
stac-fastapi with the pgstac backend should allow search if the fields extension is not enabled. This does not affect the sqlalchemy backend, which appears to work w/o the fields extension.
To reproduce
In one shell in the stac-fastapi root:
In a second shell:
Then:
Expected behavior
stac-fastapi with the pgstac backend should allow search if the fields extension is not enabled. This does not affect the sqlalchemy backend, which appears to work w/o the fields extension.
Related issues
query
withoutfields
(and apparently enablingfields
fixes the issue)fields
attribute on a search request more robust. We probably won't merge Align fields extension behavior with extension suggestions stac-fastapi#527, but whatever we do to resolve PgSTAC: Fields extension includes links even if not listed inincludes
#27 might help fix this issueThe text was updated successfully, but these errors were encountered: