We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b8abf7 commit ca8d02fCopy full SHA for ca8d02f
3 files changed
examples/bookstore/webserver.py
@@ -38,6 +38,7 @@
38
39
bookstore = None
40
41
+
42
class Book(TypedDict):
43
title: str
44
thingsdb/client/baseprotocol.py
@@ -201,7 +201,7 @@ def write(
201
self._pid %= 0x10000 # pid is handled as uint16_t
202
203
data = ( # type: ignore
204
- data if is_bin else b'' if data is None else \
+ data if is_bin else b'' if data is None else
205
msgpack.packb(data, use_bin_type=True)
206
)
207
thingsdb/exceptions.py
@@ -11,6 +11,7 @@
11
_TypeError = TypeError
12
_CancelledError = asyncio.CancelledError
13
14
15
class ErrData(TypedDict):
16
error_msg: str
17
error_code: int
0 commit comments