Skip to content

Commit 26db19b

Browse files
authored
Allows None as column value in Sender row (#116)
1 parent 50ded92 commit 26db19b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/questdb/ingress.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ class Sender:
10331033
*,
10341034
symbols: Optional[Dict[str, str]] = None,
10351035
columns: Optional[
1036-
Dict[str, Union[bool, int, float, str, TimestampMicros, datetime, np.ndarray]]
1036+
Dict[str, Union[None, bool, int, float, str, TimestampMicros, datetime, np.ndarray]]
10371037
] = None,
10381038
at: Union[TimestampNanos, datetime, ServerTimestampType],
10391039
) -> Sender:

src/questdb/ingress.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,7 @@ cdef class Sender:
25332533
symbols: Optional[Dict[str, str]]=None,
25342534
columns: Optional[Dict[
25352535
str,
2536-
Union[bool, int, float, str, TimestampMicros, datetime.datetime, numpy.ndarray]]]=None,
2536+
Union[None, bool, int, float, str, TimestampMicros, datetime.datetime, numpy.ndarray]]]=None,
25372537
at: Union[TimestampNanos, datetime.datetime, ServerTimestampType]):
25382538
"""
25392539
Write a row to the internal buffer.

0 commit comments

Comments
 (0)