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 dc954c6 commit 74d9cdbCopy full SHA for 74d9cdb
src/socketio-stubs/_types.pyi
@@ -14,7 +14,10 @@ from socketio.admin import InstrumentedServer
14
from socketio.server import Server
15
from typing_extensions import NotRequired, Required, TypedDict
16
17
-DataType: TypeAlias = str | bytes | list[Incomplete] | dict[Incomplete, Incomplete]
+JsonType: TypeAlias = (
18
+ str | int | float | bool | None | list[JsonType] | dict[str, JsonType]
19
+)
20
+DataType: TypeAlias = str | bytes | list[JsonType] | dict[JsonType, JsonType]
21
TransportType: TypeAlias = Literal["websocket", "polling"]
22
SocketIOModeType: TypeAlias = Literal["development", "production"]
23
SyncAsyncModeType: TypeAlias = Literal[
0 commit comments