File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ from collections .abc import Mapping , Sequence
12from contextlib import AbstractAsyncContextManager , AbstractContextManager
23from threading import Event as ThreadingEvent
34from types import ModuleType
@@ -15,9 +16,9 @@ from socketio.server import Server
1516from typing_extensions import NotRequired , Required , TypedDict
1617
1718JsonType : TypeAlias = (
18- str | int | float | bool | None | list [JsonType ] | dict [str , JsonType ]
19+ str | int | float | bool | None | Sequence [JsonType ] | Mapping [str , JsonType ]
1920)
20- DataType : TypeAlias = str | bytes | list [JsonType ] | dict [JsonType , JsonType ]
21+ DataType : TypeAlias = str | bytes | Sequence [JsonType ] | Mapping [JsonType , JsonType ]
2122TransportType : TypeAlias = Literal ["websocket" , "polling" ]
2223SocketIOModeType : TypeAlias = Literal ["development" , "production" ]
2324SyncAsyncModeType : TypeAlias = Literal [
You can’t perform that action at this time.
0 commit comments