Skip to content

Commit 3454db9

Browse files
committed
Fix typing
1 parent 6c7489d commit 3454db9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flox/aggregations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def __init__(
208208
# how to aggregate results after first round of reduction
209209
self.combine: OptionalFuncTuple = _atleast_1d(combine)
210210
# simpler reductions used with the "simple combine" algorithm
211-
self.simple_combine: tuple[Callable, ...] = ()
211+
self.simple_combine: OptionalFuncTuple = ()
212212
# finalize results (see mean)
213213
self.finalize: Callable | None = finalize
214214

@@ -609,7 +609,7 @@ def _initialize_aggregation(
609609
else:
610610
agg.min_count = 0
611611

612-
simple_combine: list[Callable] = []
612+
simple_combine: list[Callable | None] = []
613613
for combine in agg.combine:
614614
if isinstance(combine, str):
615615
if combine in ["nanfirst", "nanlast"]:

0 commit comments

Comments
 (0)