Comments (3)
These tests:
FAILED clients/test_postgres.py::test_delete_item - TypeError: 'NoneType' object is not iterable
FAILED resources/test_item.py::test_delete_item - TypeError: 'NoneType' object is not iterable
FAILED resources/test_item.py::test_item_search_by_id_no_results_post - TypeError: 'NoneType' ...
FAILED resources/test_item.py::test_item_search_get_query_extension - TypeError: 'NoneType' ob...
from pgstac.
I think this is due to fields
select s from search('{"collections":["something"]}') s;
>>> {"next": null, "prev": null, "type": "FeatureCollection", "context": {"limit": 10, "matched": 0, "returned": 0}, "features": []}
select s from search('{"collections":["something"],"fields":{"include":["id"]}}') s;
>>> {"next": null, "prev": null, "type": "FeatureCollection", "context": {"limit": 10, "matched": 0, "returned": 0}, "features": null}
@lossyrob could you point out which tests were failing ?
from pgstac.
fixed in #46
from pgstac.
Related Issues (20)
- pypgstac function for deleting collections/items HOT 3
- `pgstac_read` role does not have read access to `collections` table
- `pgstac_ingest` role does not allow access to the `POST /collections` API endpoint HOT 2
- Cannot install with python 3.11 HOT 2
- "function create_queryable_indexes() does not exist" error on insert into queryables HOT 1
- Parameters with `-` (e.g `default-filter-lang`) are invalid in Postgres 14 HOT 2
- Malformed query when using multiple sort fields and token
- Make connection command-line parameters optional
- search response does not include datetime when null HOT 4
- Don't short-circut when searching with `ids`
- Fix ascending sort with missing (or duplicate) values
- Allow use of pypgstac loader within same major version.
- Enable Strict Mode for Queryables / Search HOT 9
- Docker image does not initialize properly HOT 3
- Add collection or partition to token key for paging. HOT 1
- Return previous record from main query HOT 1
- Migration fails if postgis is already installed on a non-public schema HOT 1
- Compatibility with pg_tle for installation/migrations
- Pagination error HOT 1
- Migration fails from 0.7.4 HOT 7
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 pgstac.