Skip to content

Commit

Permalink
Fixed broken compatibility with Python 3.7 (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
pylessard authored Feb 11, 2024
1 parent 8f97ee4 commit 3a442cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions udsoncan/typing.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from udsoncan.common.DidCodec import DidCodec
from typing import Dict, Optional, Any, Callable, Union, Type, Literal
from typing import Dict, Optional, Any, Callable, Union, Type
import sys

if sys.version_info < (3, 8):
Expand All @@ -22,7 +22,7 @@ class IOConfigEntry(TypedDict, total=False):
mask_size: int


IOConfig = Dict[Union[int, Literal['default']], Union[IOConfigEntry, CodecDefinition]]
IOConfig = Dict[Union[int, str], Union[IOConfigEntry, CodecDefinition]]


class ClientConfig(TypedDict, total=False):
Expand Down

0 comments on commit 3a442cc

Please sign in to comment.