File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 = duration . total_seconds ()
1179- if isinstance (duration , timedelta )
1180- else duration ,
1178+ duration = (
1179+ duration . total_seconds () if isinstance (duration , timedelta ) else duration
1180+ ) ,
11811181 summary = summary ,
11821182 )
11831183
@@ -1361,7 +1361,7 @@ def process(
13611361 if self .workflow_info_on_extra :
13621362 extra .setdefault ("temporal_workflow" , {}).update (update_details )
13631363
1364- kwargs ["extra" ] = {** extra , ** (kwargs .get ("extra" ) or {})}
1364+ kwargs ["extra" ] = {** extra , ** (kwargs .get ("extra" ) or {})}
13651365 if msg_extra :
13661366 msg = f"{ msg } ({ msg_extra } )"
13671367 return (msg , kwargs )
You can’t perform that action at this time.
0 commit comments