Skip to content

Commit 0003cab

Browse files
authored
I'm not quite sure why it's complaining on that line alone...
1 parent 7bde684 commit 0003cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dask_histogram/layers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import math
22
import operator
3-
from typing import Any, Callable
3+
from typing import Any, Callable, Union
44

55
import toolz
66
from dask.layers import Layer
@@ -48,7 +48,7 @@ class MockableDataFrameTreeReduction(Layer):
4848
npartitions_input: int
4949
concat_func: Callable
5050
tree_node_func: Callable
51-
finalize_func: Callable | None
51+
finalize_func: Union[Callable, None]
5252
split_every: int
5353
split_out: int
5454
output_partitions: list[int]

0 commit comments

Comments
 (0)