From 28af173b737e5248131ad5115d75fb271170fb7d Mon Sep 17 00:00:00 2001 From: Jean-Christophe TIBLE Date: Thu, 7 Nov 2024 15:42:14 +0100 Subject: [PATCH] fix(parallel_search) missing import --- earthdaily/earthdatastore/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/earthdaily/earthdatastore/__init__.py b/earthdaily/earthdatastore/__init__.py index 76930217..1246a70c 100644 --- a/earthdaily/earthdatastore/__init__.py +++ b/earthdaily/earthdatastore/__init__.py @@ -21,7 +21,7 @@ from itertools import chain from odc import stac from . import _scales_collections, cube_utils, mask -from .parallel_search import parallel_search +from .parallel_search import parallel_search, NoItemsFoundError from .cube_utils import datacube, metacube, _datacubes, asset_mapper __all__ = ["datacube", "metacube", "xr", "stac"] @@ -1250,7 +1250,7 @@ def search( if post_query: items_collection = post_query_items(items_collection, post_query) if len(items_collection) == 0 and raise_no_items: - raise parallel_search.NoItemsFoundError("No items found.") + raise NoItemsFoundError("No items found.") return items_collection def find_cloud_mask_items(