Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgleith committed Nov 13, 2024
1 parent c7c0753 commit 9ab739f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datacube_ows/feature_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _make_band_dict(prod_cfg: OWSNamedLayer, pixel_dataset: xarray.Dataset) -> d


@log_call
def _make_derived_band_dict(pixel_dataset: xarray.Dataset, style_index: dict[str, StyleDef]) -> dict[str, int | float]:
def _make_derived_band_dict(pixel_dataset: xarray.Dataset, style_index: dict[str, StyleDef]) -> dict[str, int | float | str]:
"""Creates a dict of values for bands derived by styles.
This only works for styles with an `index_function` defined.
Expand Down

0 comments on commit 9ab739f

Please # to comment.