stac-fastapi.api 3.0.2__tar.gz → 3.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/PKG-INFO +1 -1
  2. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi/api/version.py +1 -1
  3. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi.api.egg-info/PKG-INFO +1 -1
  4. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/tests/test_app.py +1 -1
  5. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/tests/test_models.py +2 -2
  6. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/README.md +0 -0
  7. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/setup.cfg +0 -0
  8. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/setup.py +0 -0
  9. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi/api/__init__.py +0 -0
  10. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi/api/app.py +0 -0
  11. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi/api/config.py +0 -0
  12. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi/api/errors.py +0 -0
  13. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi/api/middleware.py +0 -0
  14. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi/api/models.py +0 -0
  15. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi/api/openapi.py +0 -0
  16. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi/api/routes.py +0 -0
  17. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi.api.egg-info/SOURCES.txt +0 -0
  18. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi.api.egg-info/dependency_links.txt +0 -0
  19. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi.api.egg-info/not-zip-safe +0 -0
  20. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi.api.egg-info/requires.txt +0 -0
  21. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/stac_fastapi.api.egg-info/top_level.txt +0 -0
  22. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/tests/test_api.py +0 -0
  23. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/tests/test_app_prefix.py +0 -0
  24. {stac_fastapi_api-3.0.2 → stac_fastapi_api-3.0.3}/tests/test_middleware.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stac-fastapi.api
3
- Version: 3.0.2
3
+ Version: 3.0.3
4
4
  Summary: An implementation of STAC API based on the FastAPI framework.
5
5
  Home-page: https://github.com/stac-utils/stac-fastapi
6
6
  Author: Arturo Engineering
@@ -1,3 +1,3 @@
1
1
  """Library version."""
2
2
 
3
- __version__ = "3.0.2"
3
+ __version__ = "3.0.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stac-fastapi.api
3
- Version: 3.0.2
3
+ Version: 3.0.3
4
4
  Summary: An implementation of STAC API based on the FastAPI framework.
5
5
  Home-page: https://github.com/stac-utils/stac-fastapi
6
6
  Author: Arturo Engineering
@@ -191,7 +191,7 @@ def test_filter_extension(validate, TestCoreClient, item_dict):
191
191
  "collections": ["test"],
192
192
  "filter": {},
193
193
  "filter-crs": "EPSG:4326",
194
- "filter-lang": "cql2-text",
194
+ "filter-lang": "cql2-json",
195
195
  },
196
196
  )
197
197
 
@@ -63,7 +63,7 @@ def test_create_get_request_model():
63
63
 
64
64
  @pytest.mark.parametrize(
65
65
  "filter,passes",
66
- [(None, True), ({"test": "test"}, True), ("test==test", False), ([], False)],
66
+ [(None, True), ({"test": "test"}, True), ([], False)],
67
67
  )
68
68
  def test_create_post_request_model(filter, passes):
69
69
  request_model = create_post_request_model(
@@ -82,7 +82,7 @@ def test_create_post_request_model(filter, passes):
82
82
  datetime="2020-01-01T00:00:00Z",
83
83
  limit=10,
84
84
  filter=filter,
85
- **{"filter-crs": "epsg:4326", "filter-lang": "cql2-text"},
85
+ **{"filter-crs": "epsg:4326", "filter-lang": "cql2-json"},
86
86
  )
87
87
 
88
88
  assert model.collections == ["test1", "test2"]