Skip to content

Commit bda0041

Browse files
committed
Fix typing
1 parent 02fa596 commit bda0041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bson/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ def _name_value_to_bson(
948948
was_integer_overflow = True
949949

950950
if opts.convert_decimal and type(value) == decimal.Decimal:
951-
return _encode_python_decimal(name, value, check_keys, opts) # type: ignore
951+
return _encode_python_decimal(name, value, check_keys, opts)
952952

953953
# Second, fall back to trying _type_marker. This has to be done
954954
# before the loop below since users could subclass one of our

0 commit comments

Comments
 (0)