Skip to content

Commit 1d9306d

Browse files
committed
fix type errors
1 parent 5c0abf3 commit 1d9306d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/reactpy/core/vdom.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def separate_attributes_and_children(
199199

200200
_attributes: VdomAttributes
201201
children_or_iterables: Sequence[Any]
202+
# ruff: noqa: E721
202203
if type(values[0]) is dict:
203204
_attributes, *children_or_iterables = values
204205
else:

src/reactpy/types.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111
Literal,
1212
Protocol,
1313
TypeVar,
14-
Unpack,
1514
overload,
1615
runtime_checkable,
1716
)
1817

19-
from typing_extensions import NamedTuple, NotRequired, TypeAlias, TypedDict
18+
from typing_extensions import NamedTuple, NotRequired, TypeAlias, TypedDict, Unpack
2019

2120
CarrierType = TypeVar("CarrierType")
2221
_Type = TypeVar("_Type")

0 commit comments

Comments
 (0)