How to get all runs for a given workflow execution


I have a workflow execution that ran 5 times. It failed 4 times and then passed on the last time. Using the SDK, I would like to try and gather information about each of these runs. Currently, calling workflowHandle.describe() only returns information about the last run. Is this possible using the python SDK? If so, how do you recommend this can be accomplished.

You can list workflow runs for an ID using await my_client.list_workflows("WorkflowId = 'my-workflow-id'").