We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f4885 commit c7e39c4Copy full SHA for c7e39c4
src/wokwi_client/pins.py
@@ -11,7 +11,7 @@
11
#
12
# SPDX-License-Identifier: MIT
13
14
-from typing import TypedDict, Union
+from typing import TypedDict
15
16
from wokwi_client.protocol_types import ResponseMessage
17
@@ -21,7 +21,7 @@
21
class PinReadMessage(TypedDict):
22
pin: str
23
direction: str
24
- value: Union[float, int, bool]
+ value: bool
25
pullUp: bool
26
pullDown: bool
27
@@ -30,7 +30,7 @@ class PinListenEvent(TypedDict):
30
part: str
31
32
33
34
35
36
0 commit comments