Skip to content

Commit

Permalink
use sequence instead of list
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Jan 21, 2023
1 parent c52dd12 commit 65b5d65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/idom/core/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import sys
from collections import namedtuple
from collections.abc import Sequence
from types import TracebackType
from typing import (
TYPE_CHECKING,
Expand All @@ -14,7 +15,6 @@
Mapping,
NamedTuple,
Optional,
Sequence,
Type,
TypeVar,
Union,
Expand Down Expand Up @@ -233,5 +233,5 @@ class LayoutEventMessage(TypedDict):
"""The type of message"""
target: str
"""The ID of the event handler."""
data: List[Any]
data: Sequence[Any]
"""A list of event data passed to the event handler."""

0 comments on commit 65b5d65

Please sign in to comment.