Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/wokwi_client/pins.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# SPDX-License-Identifier: MIT

from typing import TypedDict, Union
from typing import TypedDict

from wokwi_client.protocol_types import ResponseMessage

Expand All @@ -21,7 +21,7 @@
class PinReadMessage(TypedDict):
pin: str
direction: str
value: Union[float, int, bool]
value: bool
pullUp: bool
pullDown: bool

Expand All @@ -30,7 +30,7 @@ class PinListenEvent(TypedDict):
part: str
pin: str
direction: str
value: Union[float, int, bool]
value: bool
pullUp: bool
pullDown: bool

Expand Down