Skip to content

Commit

Permalink
expression: ignore type in group assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianHofmann committed Sep 24, 2024
1 parent 721c0e1 commit 9e26384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linopy/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def groupby(self) -> xarray.core.groupby.DatasetGroupBy:
group_name = self.group.name or "group"
group = DataArray(self.group, name=group_name)
else:
group = self.group
group = self.group # type: ignore

return self.data.groupby(group=group, **self.kwargs)

Expand Down

0 comments on commit 9e26384

Please sign in to comment.