Skip to content

Commit f768d28

Browse files
linter
Signed-off-by: Elena Kolevska <[email protected]>
1 parent 0dde629 commit f768d28

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dapr/clients/grpc/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ def get_workflow(self, instance_id: str, workflow_component: str) -> GetWorkflow
15031503
try:
15041504
resp = self.retry_policy.run_rpc(self._stub.GetWorkflowBeta1, req)
15051505
# not found workflows return no error, but empty status
1506-
if resp.runtime_status == "":
1506+
if resp.runtime_status == '':
15071507
return None
15081508
if resp.created_at is None:
15091509
resp.created_at = datetime.now()

examples/demo_workflow/app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ def main():
205205
# Purge Test
206206
d.purge_workflow(instance_id=instance_id, workflow_component=workflow_component)
207207
sleep(5)
208-
get_response = d.get_workflow(instance_id=instance_id, workflow_component=workflow_component)
208+
get_response = d.get_workflow(
209+
instance_id=instance_id, workflow_component=workflow_component
210+
)
209211
if get_response is None:
210212
print('Instance Successfully Purged')
211213

0 commit comments

Comments
 (0)