Skip to content

Commit 7546190

Browse files
committed
ruff'ed
Signed-off-by: Patrick Assuied <[email protected]>
1 parent 47edb1f commit 7546190

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/workflow/simple_aio_client.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# limitations under the License.
1212
import asyncio
1313
from datetime import timedelta
14-
from time import sleep
1514

1615
from dapr.ext.workflow import (
1716
DaprWorkflowContext,
@@ -143,11 +142,13 @@ async def main():
143142

144143
# Resume Test
145144
await wf_client.resume_workflow(instance_id=instance_id)
146-
metadata =await wf_client.get_workflow_state(instance_id=instance_id)
145+
metadata = await wf_client.get_workflow_state(instance_id=instance_id)
147146
print(f'Get response from {workflow_name} after resume call: {metadata.runtime_status.name}')
148147

149148
await asyncio.sleep(2) # Give the workflow time to reach the event wait state
150-
await wf_client.raise_workflow_event(instance_id=instance_id, event_name=event_name, data=event_data)
149+
await wf_client.raise_workflow_event(
150+
instance_id=instance_id, event_name=event_name, data=event_data
151+
)
151152

152153
print('========= Waiting for Workflow completion', flush=True)
153154
try:

0 commit comments

Comments
 (0)