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: