Skip to content

Commit

Permalink
Revert change to indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
abarciauskas-bgse committed Jun 4, 2024
1 parent ba2cb6f commit cdff4d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion titiler/stacapi/asset_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from rio_tiler.io.base import BaseReader, MultiBaseReader
from rio_tiler.models import ImageData
from rio_tiler.tasks import multi_arrays
from rio_tiler.types import Indexes

from titiler.stacapi.models import AssetInfo
from titiler.stacapi.settings import CacheSettings, RetrySettings, STACSettings
Expand Down Expand Up @@ -183,7 +184,7 @@ def tile( # noqa: C901
raise MissingAssets(
"assets must be passed either via `expression` or `assets` options."
)

# indexes comes from the bidx query-parameter.
# but for asset based backend we usually use asset_bidx option.
asset_indexes = asset_indexes or {}
Expand Down

0 comments on commit cdff4d0

Please sign in to comment.