From f07af60f75ee2ff9ac6b855ec92ea4cfe3e91adf Mon Sep 17 00:00:00 2001 From: Stijn Caerts Date: Tue, 3 Oct 2023 13:07:15 +0200 Subject: [PATCH] update extensions to latest versions (#606) --- .../extensions/stac_fastapi/extensions/core/fields/fields.py | 2 +- .../extensions/stac_fastapi/extensions/core/query/query.py | 2 +- .../extensions/stac_fastapi/extensions/core/sort/sort.py | 2 +- .../extensions/stac_fastapi/extensions/core/transaction.py | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/stac_fastapi/extensions/stac_fastapi/extensions/core/fields/fields.py b/stac_fastapi/extensions/stac_fastapi/extensions/core/fields/fields.py index f4a9a7686..df4cd44de 100644 --- a/stac_fastapi/extensions/stac_fastapi/extensions/core/fields/fields.py +++ b/stac_fastapi/extensions/stac_fastapi/extensions/core/fields/fields.py @@ -32,7 +32,7 @@ class FieldsExtension(ApiExtension): POST = FieldsExtensionPostRequest conformance_classes: List[str] = attr.ib( - factory=lambda: ["https://api.stacspec.org/v1.0.0-rc.3/item-search#fields"] + factory=lambda: ["https://api.stacspec.org/v1.0.0/item-search#fields"] ) default_includes: Set[str] = attr.ib( factory=lambda: { diff --git a/stac_fastapi/extensions/stac_fastapi/extensions/core/query/query.py b/stac_fastapi/extensions/stac_fastapi/extensions/core/query/query.py index 5c07ab4a0..3e85b406d 100644 --- a/stac_fastapi/extensions/stac_fastapi/extensions/core/query/query.py +++ b/stac_fastapi/extensions/stac_fastapi/extensions/core/query/query.py @@ -23,7 +23,7 @@ class QueryExtension(ApiExtension): POST = QueryExtensionPostRequest conformance_classes: List[str] = attr.ib( - factory=lambda: ["https://api.stacspec.org/v1.0.0-rc.2/item-search#query"] + factory=lambda: ["https://api.stacspec.org/v1.0.0/item-search#query"] ) schema_href: Optional[str] = attr.ib(default=None) diff --git a/stac_fastapi/extensions/stac_fastapi/extensions/core/sort/sort.py b/stac_fastapi/extensions/stac_fastapi/extensions/core/sort/sort.py index 08085bc47..5dd96cfa6 100644 --- a/stac_fastapi/extensions/stac_fastapi/extensions/core/sort/sort.py +++ b/stac_fastapi/extensions/stac_fastapi/extensions/core/sort/sort.py @@ -22,7 +22,7 @@ class SortExtension(ApiExtension): POST = SortExtensionPostRequest conformance_classes: List[str] = attr.ib( - factory=lambda: ["https://api.stacspec.org/v1.0.0-rc.2/item-search#sort"] + factory=lambda: ["https://api.stacspec.org/v1.0.0/item-search#sort"] ) schema_href: Optional[str] = attr.ib(default=None) diff --git a/stac_fastapi/extensions/stac_fastapi/extensions/core/transaction.py b/stac_fastapi/extensions/stac_fastapi/extensions/core/transaction.py index 23dd4c34e..480ff09b5 100644 --- a/stac_fastapi/extensions/stac_fastapi/extensions/core/transaction.py +++ b/stac_fastapi/extensions/stac_fastapi/extensions/core/transaction.py @@ -53,8 +53,7 @@ class TransactionExtension(ApiExtension): settings: ApiSettings = attr.ib() conformance_classes: List[str] = attr.ib( factory=lambda: [ - "https://api.stacspec.org/v1.0.0-rc.2/ogcapi-features/extensions/transaction", - "http://www.opengis.net/spec/ogcapi-features-4/1.0/conf/simpletx", + "https://api.stacspec.org/v1.0.0-rc.3/ogcapi-features/extensions/transaction", ] ) schema_href: Optional[str] = attr.ib(default=None)