Skip to content

Commit 3c92a2e

Browse files
committed
undoing something my autoformatter tried to fix
1 parent 3a8a912 commit 3c92a2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

temporalio/workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,9 +1175,9 @@ async def sleep(
11751175
This can be in single-line Temporal markdown format.
11761176
"""
11771177
await _Runtime.current().workflow_sleep(
1178-
duration=(
1179-
duration.total_seconds() if isinstance(duration, timedelta) else duration
1180-
),
1178+
duration=duration.total_seconds()
1179+
if isinstance(duration, timedelta)
1180+
else duration,
11811181
summary=summary,
11821182
)
11831183

0 commit comments

Comments
 (0)