Skip to content

Commit

Permalink
Mypy fixes oops, typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacemanPaul committed Dec 9, 2024
1 parent e19ca82 commit 3b1d037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datacube/api/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ def mk_group(group: Iterable[Dataset]) -> tuple[Any, Iterable[Dataset]]:
coords = numpy.asarray([coord for coord, _ in groups])
data = numpy.empty(len(coords), dtype=object)
for i, (_, dss) in enumerate(groups):
data[i] = dss # types: ignore[assignment]
data[i] = dss # type: ignore[assignment]

sources = xarray.DataArray(data,
dims=[group_by.dimension],
Expand Down

0 comments on commit 3b1d037

Please sign in to comment.