@@ -356,7 +356,7 @@ def to_json(
356356    by_alias : bool  =  True ,
357357    exclude_none : bool  =  False ,
358358    round_trip : bool  =  False ,
359-     timedelta_mode : Literal ['iso8601' , 'float'  ,  ' seconds_float''milliseconds_float' ] =  'iso8601' ,
359+     timedelta_mode : Literal ['iso8601' , 'seconds_float' , 'milliseconds_float' ] =  'iso8601' ,
360360    bytes_mode : Literal ['utf8' , 'base64' , 'hex' ] =  'utf8' ,
361361    inf_nan_mode : Literal ['null' , 'constants' , 'strings' ] =  'constants' ,
362362    serialize_unknown : bool  =  False ,
@@ -377,7 +377,7 @@ def to_json(
377377        by_alias: Whether to use the alias names of fields. 
378378        exclude_none: Whether to exclude fields that have a value of `None`. 
379379        round_trip: Whether to enable serialization and validation round-trip support. 
380-         timedelta_mode: How to serialize `timedelta` objects, either `'iso8601'`, `'seconds_float'`, `'milliseconds_float'`,  `'float '`. 
380+         timedelta_mode: How to serialize `timedelta` objects, either `'iso8601'`, `'seconds_float'` or  `'milliseconds_float '`. 
381381        Note that `'float'` is deprecated in favour of `'seconds_float'` 
382382        bytes_mode: How to serialize `bytes` objects, either `'utf8'`, `'base64'`, or `'hex'`. 
383383        inf_nan_mode: How to serialize `Infinity`, `-Infinity` and `NaN` values, either `'null'`, `'constants'`, or `'strings'`. 
@@ -432,7 +432,7 @@ def to_jsonable_python(
432432    by_alias : bool  =  True ,
433433    exclude_none : bool  =  False ,
434434    round_trip : bool  =  False ,
435-     timedelta_mode : Literal ['iso8601' , 'float'  ,  ' seconds_float''milliseconds_float' ] =  'iso8601' ,
435+     timedelta_mode : Literal ['iso8601' , 'seconds_float' , 'milliseconds_float' ] =  'iso8601' ,
436436    bytes_mode : Literal ['utf8' , 'base64' , 'hex' ] =  'utf8' ,
437437    inf_nan_mode : Literal ['null' , 'constants' , 'strings' ] =  'constants' ,
438438    serialize_unknown : bool  =  False ,
@@ -453,7 +453,7 @@ def to_jsonable_python(
453453        by_alias: Whether to use the alias names of fields. 
454454        exclude_none: Whether to exclude fields that have a value of `None`. 
455455        round_trip: Whether to enable serialization and validation round-trip support. 
456-         timedelta_mode: How to serialize `timedelta` objects, either `'iso8601'`, `'seconds_float'`, `'milliseconds_float'`, `'float '`. 
456+         timedelta_mode: How to serialize `timedelta` objects, either `'iso8601'`, `'seconds_float'`, or `'milliseconds_float'`. 
457457        Note that `'float'` is deprecated in favour of `'seconds_float'` 
458458        bytes_mode: How to serialize `bytes` objects, either `'utf8'`, `'base64'`, or `'hex'`. 
459459        inf_nan_mode: How to serialize `Infinity`, `-Infinity` and `NaN` values, either `'null'`, `'constants'`, or `'strings'`. 
0 commit comments