You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifnotself.allow_invalid and value_t != BSON_TYPE_NULL:
621
-
raiseTypeError(f"Got unexpected type `{_get_human_readable_bson_type_t(value_t)}` instead of expected type `{_get_human_readable_bson_type_t(self.type_marker)}`")
621
+
raiseTypeError(f"Got unexpected type `{_get_human_readable_bson_type_t(value_t)}` instead of expected type `date64`")
622
622
else:
623
623
returnself.builder.get().AppendNull()
624
624
@@ -651,7 +651,7 @@ cdef class Date32Builder(_ArrayBuilderBase):
651
651
seconds_val = value //86400000
652
652
returnself.builder.get().Append(seconds_val)
653
653
ifnotself.allow_invalid and value_t != BSON_TYPE_NULL:
654
-
raiseTypeError(f"Got unexpected type `{_get_human_readable_bson_type_t(value_t)}` instead of expected type `{_get_human_readable_bson_type_t(self.type_marker)}`")
654
+
raiseTypeError(f"Got unexpected type `{_get_human_readable_bson_type_t(value_t)}` instead of expected type `date32`")
0 commit comments