Skip to content

Commit 5ab1409

Browse files
committed
explanatory comment
1 parent aa6743d commit 5ab1409

File tree

2 files changed

+8
-0
lines changed
  • stac_fastapi
    • elasticsearch/stac_fastapi/elasticsearch
    • opensearch/stac_fastapi/opensearch

2 files changed

+8
-0
lines changed

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
filter_extension.conformance_classes.append(
6161
FilterConformanceClasses.ADVANCED_COMPARISON_OPERATORS
6262
)
63+
64+
# Adding collection search extension for compatibility with stac-auth-proxy
65+
# (https://github.com/developmentseed/stac-auth-proxy)
66+
# The extension is not fully implemented yet but is required for collection filtering support
6367
collection_search_extension = CollectionSearchExtension()
6468
collection_search_extension.conformance_classes.append(
6569
"https://api.stacspec.org/v1.0.0-rc.1/collection-search#filter"

stac_fastapi/opensearch/stac_fastapi/opensearch/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
filter_extension.conformance_classes.append(
6161
FilterConformanceClasses.ADVANCED_COMPARISON_OPERATORS
6262
)
63+
64+
# Adding collection search extension for compatibility with stac-auth-proxy
65+
# (https://github.com/developmentseed/stac-auth-proxy)
66+
# The extension is not fully implemented yet but is required for collection filtering support
6367
collection_search_extension = CollectionSearchExtension()
6468
collection_search_extension.conformance_classes.append(
6569
"https://api.stacspec.org/v1.0.0-rc.1/collection-search#filter"

0 commit comments

Comments
 (0)