stac-fastapi.types 2.5.4__tar.gz → 2.5.5__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_types-2.5.4 → stac_fastapi_types-2.5.5}/PKG-INFO +1 -1
  2. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/core.py +2 -6
  3. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/version.py +1 -1
  4. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi.types.egg-info/PKG-INFO +1 -1
  5. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/README.md +0 -0
  6. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/setup.cfg +0 -0
  7. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/setup.py +0 -0
  8. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/__init__.py +0 -0
  9. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/config.py +0 -0
  10. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/conformance.py +0 -0
  11. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/errors.py +0 -0
  12. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/extension.py +0 -0
  13. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/links.py +0 -0
  14. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/requests.py +0 -0
  15. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/rfc3339.py +0 -0
  16. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/search.py +0 -0
  17. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi/types/stac.py +0 -0
  18. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi.types.egg-info/SOURCES.txt +0 -0
  19. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi.types.egg-info/dependency_links.txt +0 -0
  20. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi.types.egg-info/not-zip-safe +0 -0
  21. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi.types.egg-info/requires.txt +0 -0
  22. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/stac_fastapi.types.egg-info/top_level.txt +0 -0
  23. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/tests/test_limit.py +0 -0
  24. {stac_fastapi_types-2.5.4 → stac_fastapi_types-2.5.5}/tests/test_rfc3339.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stac-fastapi.types
3
- Version: 2.5.4
3
+ Version: 2.5.5
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
@@ -404,9 +404,7 @@ class BaseCoreClient(LandingPageMixin, abc.ABC):
404
404
  "rel": "service-desc",
405
405
  "type": "application/vnd.oai.openapi+json;version=3.0",
406
406
  "title": "OpenAPI service description",
407
- "href": urljoin(
408
- str(request.base_url), request.app.openapi_url.lstrip("/")
409
- ),
407
+ "href": str(request.url_for("openapi")),
410
408
  }
411
409
  )
412
410
 
@@ -416,9 +414,7 @@ class BaseCoreClient(LandingPageMixin, abc.ABC):
416
414
  "rel": "service-doc",
417
415
  "type": "text/html",
418
416
  "title": "OpenAPI service documentation",
419
- "href": urljoin(
420
- str(request.base_url), request.app.docs_url.lstrip("/")
421
- ),
417
+ "href": str(request.url_for("swagger_ui_html")),
422
418
  }
423
419
  )
424
420
 
@@ -1,2 +1,2 @@
1
1
  """Library version."""
2
- __version__ = "2.5.4"
2
+ __version__ = "2.5.5"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stac-fastapi.types
3
- Version: 2.5.4
3
+ Version: 2.5.5
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