Closed ArthurMor4is closed 1 month ago
Hey @ArthurMor4is, it looks like this is caused by a step returning something that is a coroutine. At first glance, this doesn't look related to logging, but could be due to some recent changes we made to the return values of spawn_workflow
and run_workflow
.
Is there any chance you could share the relevant code for the features
step? Or share how you're calling spawn_workflow
?
Context:
I'm using the following step to check the status of new workflows:
I was able to capture workflow statuses correctly using version 0.26.4 of the library. However, I tried to update to version 0.27.0 and use log capture according to the documentation at this link: https://docs.hatchet.run/sdks/python-sdk/logging
From then on, I can no longer capture the statuses correctly. I think the error in question is related to this commit: https://github.com/hatchet-dev/hatchet-python/commit/f42bcfbba2a7124e3ec8d1c1544c7c08bdc6b499
All other steps in my workflow are synchronous
Bug error: