Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

how to get the result of a completed task in rest client hatchet.rest.aio.workflow_run_get #330

Open
sh1man999 opened this issue Mar 11, 2025 · 0 comments

Comments

@sh1man999
Copy link

sh1man999 commented Mar 11, 2025

not result a completed task

workflow_run = await self._hatchet.admin.aio.workflow_run_get(
            workflow_run_id
        )

there is a result completed task

workflow_run = self._hatchet.admin.get_workflow_run(workflow_run_id=workflow_run_id)
result = await workflow_run.result()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant