Skip to content

Commit

Permalink
Merge pull request #122 from earthdaily/dev
Browse files Browse the repository at this point in the history
fix(parallel_search) missing import
  • Loading branch information
jct-earthdaily authored Nov 8, 2024
2 parents 1a0e707 + 28af173 commit 5be2eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions earthdaily/earthdatastore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 5be2eda

Please sign in to comment.