Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Jul 5, 2023
1 parent 7d23dc5 commit b7b704c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dask_awkward/lib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from enum import IntEnum
from functools import cached_property, partial
from numbers import Number
from typing import TYPE_CHECKING, Any, Literal, TypeVar, overload
from typing import TYPE_CHECKING, Any, Literal, TypeVar, Union, overload

import awkward as ak
import dask.config
Expand Down Expand Up @@ -2348,7 +2348,7 @@ def partition_compatibility(*args: Array) -> PartitionCompatibility:
return PartitionCompatibility._check(*args)


HowStrictT = Literal[1] | Literal[2] | PartitionCompatibility
HowStrictT = Union[Literal[1], Literal[2], PartitionCompatibility]


def compatible_partitions(
Expand Down

0 comments on commit b7b704c

Please sign in to comment.