@@ -378,7 +378,6 @@ def to_json(
378
378
exclude_none: Whether to exclude fields that have a value of `None`.
379
379
round_trip: Whether to enable serialization and validation round-trip support.
380
380
timedelta_mode: How to serialize `timedelta` objects, either `'iso8601'`, `'seconds_float'` or `'milliseconds_float'`.
381
- Note that `'float'` is deprecated in favour of `'seconds_float'`
382
381
bytes_mode: How to serialize `bytes` objects, either `'utf8'`, `'base64'`, or `'hex'`.
383
382
inf_nan_mode: How to serialize `Infinity`, `-Infinity` and `NaN` values, either `'null'`, `'constants'`, or `'strings'`.
384
383
serialize_unknown: Attempt to serialize unknown types, `str(value)` will be used, if that fails
@@ -454,7 +453,6 @@ def to_jsonable_python(
454
453
exclude_none: Whether to exclude fields that have a value of `None`.
455
454
round_trip: Whether to enable serialization and validation round-trip support.
456
455
timedelta_mode: How to serialize `timedelta` objects, either `'iso8601'`, `'seconds_float'`, or`'milliseconds_float'`.
457
- Note that `'float'` is deprecated in favour of `'seconds_float'`
458
456
bytes_mode: How to serialize `bytes` objects, either `'utf8'`, `'base64'`, or `'hex'`.
459
457
inf_nan_mode: How to serialize `Infinity`, `-Infinity` and `NaN` values, either `'null'`, `'constants'`, or `'strings'`.
460
458
serialize_unknown: Attempt to serialize unknown types, `str(value)` will be used, if that fails
0 commit comments