Skip to content

Commit

Permalink
fix: typing import
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Jan 3, 2023
1 parent 4b361bd commit 46ea4ec
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions src/awkward/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,20 @@
import typing
from typing import * # noqa: F403

__all__ = [
"Final",
"Self",
"final",
"Protocol",
"Unpack",
"TypeAlias",
"runtime_checkable",
"AxisMaybeNone",
] + typing.__all__
__all__ = list(
{
"Final",
"Self",
"final",
"Protocol",
"Unpack",
"TypeAlias",
"runtime_checkable",
"AxisMaybeNone",
"TypedDict",
*typing.__all__,
}
)


AxisMaybeNone = TypeVar("AxisMaybeNone", int, None)
Expand All @@ -26,6 +30,7 @@
Protocol,
Self,
TypeAlias,
TypedDict,
Unpack,
final,
runtime_checkable,
Expand All @@ -36,6 +41,7 @@
Protocol,
Self,
TypeAlias,
TypedDict,
Unpack,
final,
runtime_checkable,
Expand Down

0 comments on commit 46ea4ec

Please sign in to comment.