Skip to content

Commit 46ff422

Browse files
committed
fix: type hints oops
1 parent e9ebd11 commit 46ff422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pydantic_core/_pydantic_core.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def to_jsonable_python(
434434
by_alias: bool = True,
435435
exclude_none: bool = False,
436436
round_trip: bool = False,
437-
timedelta_mode: Literal['iso8601', 'seconds_int', 'milliseconds_int'] = 'iso8601',
437+
timedelta_mode: Literal['iso8601', 'seconds_float', 'milliseconds_float'] = 'iso8601',
438438
datetime_mode: Literal['iso8601', 'seconds_int', 'milliseconds_int'] = 'iso8601',
439439
bytes_mode: Literal['utf8', 'base64', 'hex'] = 'utf8',
440440
inf_nan_mode: Literal['null', 'constants', 'strings'] = 'constants',

0 commit comments

Comments
 (0)