Skip to content

Commit 69baf1b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1b09699 commit 69baf1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lightning/pytorch/trainer/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def _parse_time_interval_seconds(value: Union[str, timedelta, dict]) -> float:
231231
>>> from datetime import timedelta
232232
>>> _parse_time_interval_seconds(timedelta(days=1, seconds=30))
233233
86430.0
234+
234235
"""
235236
if isinstance(value, timedelta):
236237
return value.total_seconds()

0 commit comments

Comments
 (0)