stac-fastapi.extensions 2.4.9__tar.gz → 2.5.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.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/PKG-INFO +5 -1
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/setup.py +4 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/context.py +10 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/transaction.py +3 -2
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/version.py +1 -1
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi.extensions.egg-info/PKG-INFO +5 -1
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/README.md +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/setup.cfg +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/__init__.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/__init__.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/fields/__init__.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/fields/fields.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/fields/request.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/filter/__init__.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/filter/filter.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/filter/request.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/pagination/__init__.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/pagination/pagination.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/pagination/token_pagination.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/query/__init__.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/query/query.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/query/request.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/sort/__init__.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/sort/request.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/core/sort/sort.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/third_party/__init__.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/third_party/bulk_transactions.py +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi.extensions.egg-info/SOURCES.txt +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi.extensions.egg-info/dependency_links.txt +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi.extensions.egg-info/not-zip-safe +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi.extensions.egg-info/requires.txt +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi.extensions.egg-info/top_level.txt +0 -0
- {stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/tests/test_transaction.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: stac-fastapi.extensions
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
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
|
|
@@ -11,6 +11,10 @@ Classifier: Intended Audience :: Developers
|
|
|
11
11
|
Classifier: Intended Audience :: Information Technology
|
|
12
12
|
Classifier: Intended Audience :: Science/Research
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
18
|
Classifier: License :: OSI Approved :: MIT License
|
|
15
19
|
Requires-Python: >=3.8
|
|
16
20
|
Description-Content-Type: text/markdown
|
|
@@ -36,6 +36,10 @@ setup(
|
|
|
36
36
|
"Intended Audience :: Information Technology",
|
|
37
37
|
"Intended Audience :: Science/Research",
|
|
38
38
|
"Programming Language :: Python :: 3.8",
|
|
39
|
+
"Programming Language :: Python :: 3.9",
|
|
40
|
+
"Programming Language :: Python :: 3.10",
|
|
41
|
+
"Programming Language :: Python :: 3.11",
|
|
42
|
+
"Programming Language :: Python :: 3.12",
|
|
39
43
|
"License :: OSI Approved :: MIT License",
|
|
40
44
|
],
|
|
41
45
|
keywords="STAC FastAPI COG",
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"""Context extension."""
|
|
2
|
+
|
|
3
|
+
import warnings
|
|
2
4
|
from typing import List, Optional
|
|
3
5
|
|
|
4
6
|
import attr
|
|
@@ -24,6 +26,14 @@ class ContextExtension(ApiExtension):
|
|
|
24
26
|
default="https://raw.githubusercontent.com/stac-api-extensions/context/v1.0.0-rc.2/json-schema/schema.json"
|
|
25
27
|
)
|
|
26
28
|
|
|
29
|
+
def __attrs_post_init__(self):
|
|
30
|
+
"""init."""
|
|
31
|
+
warnings.warm(
|
|
32
|
+
"The ContextExtension is deprecated and will be removed in 3.0.",
|
|
33
|
+
DeprecationWarning,
|
|
34
|
+
stacklevel=1,
|
|
35
|
+
)
|
|
36
|
+
|
|
27
37
|
def register(self, app: FastAPI) -> None:
|
|
28
38
|
"""Register the extension with a FastAPI application.
|
|
29
39
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"""Transaction extension."""
|
|
2
|
+
|
|
2
3
|
from typing import List, Optional, Type, Union
|
|
3
4
|
|
|
4
5
|
import attr
|
|
@@ -117,10 +118,10 @@ class TransactionExtension(ApiExtension):
|
|
|
117
118
|
)
|
|
118
119
|
|
|
119
120
|
def register_update_collection(self):
|
|
120
|
-
"""Register update collection endpoint (PUT /collections)."""
|
|
121
|
+
"""Register update collection endpoint (PUT /collections/{collection_id})."""
|
|
121
122
|
self.router.add_api_route(
|
|
122
123
|
name="Update Collection",
|
|
123
|
-
path="/collections",
|
|
124
|
+
path="/collections/{collection_id}",
|
|
124
125
|
response_model=Collection if self.settings.enable_response_models else None,
|
|
125
126
|
response_class=self.response_class,
|
|
126
127
|
response_model_exclude_unset=True,
|
{stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/version.py
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""Library version."""
|
|
2
|
-
__version__ = "2.
|
|
2
|
+
__version__ = "2.5.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: stac-fastapi.extensions
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
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
|
|
@@ -11,6 +11,10 @@ Classifier: Intended Audience :: Developers
|
|
|
11
11
|
Classifier: Intended Audience :: Information Technology
|
|
12
12
|
Classifier: Intended Audience :: Science/Research
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.8
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
18
|
Classifier: License :: OSI Approved :: MIT License
|
|
15
19
|
Requires-Python: >=3.8
|
|
16
20
|
Description-Content-Type: text/markdown
|
|
File without changes
|
|
File without changes
|
{stac-fastapi.extensions-2.4.9 → stac_fastapi_extensions-2.5.0}/stac_fastapi/extensions/__init__.py
RENAMED
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|