Skip to content

Commit

Permalink
Merge pull request #589 from RizaFarheen/main
Browse files Browse the repository at this point in the history
python
  • Loading branch information
nhandt2021 authored Dec 19, 2023
2 parents d2d9270 + 1762510 commit d4a49f0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/reference-docs/api/workflow/get-workflow-by-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ func (e *WorkflowExecutor) GetWorkflow(workflowId string, includeTasks bool) (*m
<TabItem value="Python" label="Python">

```python
WorkflowResourceApi.get_execution_status(self, workflow_id, **kwargs)
## Get workflow including tasks

workflow = workflow_client.getWorkflow(workflow_id, True)

## Get workflow excluding tasks

workflow = workflow_client.getWorkflow(workflow_id, False)
```

</TabItem>
Expand Down

0 comments on commit d4a49f0

Please sign in to comment.