From f9d6f735a717f636d96c2e5687aa7c69a0c2da15 Mon Sep 17 00:00:00 2001 From: Vincent Sarago Date: Wed, 21 Aug 2024 15:09:05 +0200 Subject: [PATCH] Apply suggestions from code review --- .../extensions/core/collection_search/collection_search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stac_fastapi/extensions/stac_fastapi/extensions/core/collection_search/collection_search.py b/stac_fastapi/extensions/stac_fastapi/extensions/core/collection_search/collection_search.py index d06812fa..f7f452c9 100644 --- a/stac_fastapi/extensions/stac_fastapi/extensions/core/collection_search/collection_search.py +++ b/stac_fastapi/extensions/stac_fastapi/extensions/core/collection_search/collection_search.py @@ -95,7 +95,7 @@ def from_extensions( conf = supported_extensions.get(ext.__class__.__name__, None) if not conf: warnings.warn( - f"{ext.__class__.__name__} extension not supported in `CollectionSearchExtension.from_extensions` method.", # noqa: E501 + f"Conformance class for `{ext.__class__.__name__}` extension not found.", UserWarning, ) else: @@ -203,7 +203,7 @@ def from_extensions( conf = supported_extensions.get(ext.__class__.__name__, None) if not conf: warnings.warn( - f"{ext.__class__.__name__} extension not supported in `CollectionSearchExtension.from_extensions` method.", # noqa: E501 + f"Conformance class for `{ext.__class__.__name__}` extension not found.", UserWarning, ) else: