stac-fastapi.core 2.3.1__tar.gz → 2.4.1__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 (27) hide show
  1. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/PKG-INFO +1 -1
  2. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/core.py +2 -6
  3. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/version.py +1 -1
  4. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi.core.egg-info/PKG-INFO +1 -1
  5. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/README.md +0 -0
  6. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/setup.cfg +0 -0
  7. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/setup.py +0 -0
  8. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/__init__.py +0 -0
  9. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/base_database_logic.py +0 -0
  10. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/base_settings.py +0 -0
  11. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/basic_auth.py +0 -0
  12. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/datetime_utils.py +0 -0
  13. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/extensions/__init__.py +0 -0
  14. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/extensions/filter.py +0 -0
  15. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/extensions/query.py +0 -0
  16. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/models/__init__.py +0 -0
  17. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/models/links.py +0 -0
  18. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/models/search.py +0 -0
  19. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/serializers.py +0 -0
  20. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/session.py +0 -0
  21. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/types/core.py +0 -0
  22. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi/core/utilities.py +0 -0
  23. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi.core.egg-info/SOURCES.txt +0 -0
  24. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi.core.egg-info/dependency_links.txt +0 -0
  25. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi.core.egg-info/not-zip-safe +0 -0
  26. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi.core.egg-info/requires.txt +0 -0
  27. {stac_fastapi_core-2.3.1 → stac_fastapi_core-2.4.1}/stac_fastapi.core.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stac-fastapi.core
3
- Version: 2.3.1
3
+ Version: 2.4.1
4
4
  Summary: Core library for the Elasticsearch and Opensearch stac-fastapi backends.
5
5
  Home-page: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch
6
6
  License: MIT
@@ -318,9 +318,7 @@ class CoreClient(AsyncBaseCoreClient):
318
318
  if maybe_count is not None:
319
319
  context_obj["matched"] = maybe_count
320
320
 
321
- links = []
322
- if next_token:
323
- links = await PagingLinks(request=request, next=next_token).get_links()
321
+ links = await PagingLinks(request=request, next=next_token).get_links()
324
322
 
325
323
  return ItemCollection(
326
324
  type="FeatureCollection",
@@ -619,9 +617,7 @@ class CoreClient(AsyncBaseCoreClient):
619
617
  if maybe_count is not None:
620
618
  context_obj["matched"] = maybe_count
621
619
 
622
- links = []
623
- if next_token:
624
- links = await PagingLinks(request=request, next=next_token).get_links()
620
+ links = await PagingLinks(request=request, next=next_token).get_links()
625
621
 
626
622
  return ItemCollection(
627
623
  type="FeatureCollection",
@@ -1,2 +1,2 @@
1
1
  """library version."""
2
- __version__ = "2.3.1"
2
+ __version__ = "2.4.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stac-fastapi.core
3
- Version: 2.3.1
3
+ Version: 2.4.1
4
4
  Summary: Core library for the Elasticsearch and Opensearch stac-fastapi backends.
5
5
  Home-page: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch
6
6
  License: MIT