stac-fastapi.api 6.5.0__tar.gz → 6.6.0__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.
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/PKG-INFO +4 -4
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/pyproject.toml +2 -2
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/errors.py +0 -1
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/models.py +1 -6
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/version.py +1 -1
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/.gitignore +0 -0
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/README.md +0 -0
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/__init__.py +0 -0
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/app.py +0 -0
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/config.py +0 -0
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/metrics.py +0 -0
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/middleware.py +0 -0
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/openapi.py +0 -0
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/py.typed +0 -0
- {stac_fastapi_api-6.5.0 → stac_fastapi_api-6.6.0}/stac_fastapi/api/routes.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: stac-fastapi-api
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.6.0
|
|
4
4
|
Summary: An implementation of STAC API based on the FastAPI framework.
|
|
5
5
|
Project-URL: Homepage, https://github.com/stac-utils/stac-fastapi
|
|
6
6
|
Author-email: ArturoAI <engineering@arturo.ai>
|
|
@@ -17,6 +17,6 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
18
|
Requires-Python: >=3.11
|
|
19
19
|
Requires-Dist: brotli-asgi
|
|
20
|
-
Requires-Dist: stac-fastapi-types~=6.
|
|
20
|
+
Requires-Dist: stac-fastapi-types~=6.6
|
|
21
21
|
Provides-Extra: metrics
|
|
22
|
-
Requires-Dist: prometheus-fastapi-instrumentator>=8; extra == 'metrics'
|
|
22
|
+
Requires-Dist: prometheus-fastapi-instrumentator>=8.1.0; extra == 'metrics'
|
|
@@ -32,12 +32,12 @@ classifiers = [
|
|
|
32
32
|
dynamic = ["version"]
|
|
33
33
|
dependencies = [
|
|
34
34
|
"brotli_asgi",
|
|
35
|
-
"stac-fastapi.types~=6.
|
|
35
|
+
"stac-fastapi.types~=6.6",
|
|
36
36
|
]
|
|
37
37
|
|
|
38
38
|
[project.optional-dependencies]
|
|
39
39
|
metrics = [
|
|
40
|
-
"prometheus-fastapi-instrumentator>=8",
|
|
40
|
+
"prometheus-fastapi-instrumentator>=8.1.0",
|
|
41
41
|
]
|
|
42
42
|
|
|
43
43
|
[dependency-groups]
|
|
@@ -27,7 +27,6 @@ DEFAULT_STATUS_CODES = {
|
|
|
27
27
|
ConflictError: status.HTTP_409_CONFLICT,
|
|
28
28
|
ForeignKeyError: status.HTTP_424_FAILED_DEPENDENCY,
|
|
29
29
|
DatabaseError: status.HTTP_424_FAILED_DEPENDENCY,
|
|
30
|
-
Exception: status.HTTP_500_INTERNAL_SERVER_ERROR,
|
|
31
30
|
InvalidQueryParameter: status.HTTP_400_BAD_REQUEST,
|
|
32
31
|
ResponseValidationError: status.HTTP_500_INTERNAL_SERVER_ERROR,
|
|
33
32
|
}
|
|
@@ -4,6 +4,7 @@ from typing import Annotated, Literal, cast
|
|
|
4
4
|
|
|
5
5
|
import attr
|
|
6
6
|
from fastapi import Path, Query
|
|
7
|
+
from fastapi.responses import JSONResponse
|
|
7
8
|
from pydantic import BaseModel, create_model
|
|
8
9
|
from stac_pydantic.shared import BBox
|
|
9
10
|
|
|
@@ -19,12 +20,6 @@ from stac_fastapi.types.search import (
|
|
|
19
20
|
_validate_datetime,
|
|
20
21
|
)
|
|
21
22
|
|
|
22
|
-
try:
|
|
23
|
-
import orjson # noqa
|
|
24
|
-
from fastapi.responses import ORJSONResponse as JSONResponse
|
|
25
|
-
except ImportError: # pragma: nocover
|
|
26
|
-
from starlette.responses import JSONResponse # type: ignore [assignment]
|
|
27
|
-
|
|
28
23
|
|
|
29
24
|
def create_request_model(
|
|
30
25
|
model_name="SearchGetRequest",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|