jernejfrank commented on code in PR #895:
URL: https://github.com/apache/burr/pull/895#discussion_r3886163066
##########
burr/core/application.py:
##########
@@ -1115,25 +1115,29 @@ async def _astep(self, inputs: Optional[Dict[str,
Any]], _run_hooks: bool = True
# which this is supposed to be its OK).
# this delegates hooks to the synchronous version, so
we'll call all of them as well
# In this case we allow the self._step to do input
processing
- return self._step(
+ output = self._step(
inputs=inputs, _run_hooks=False
) # Skip hooks as we already ran all of them/will run all
of them in this function's finally
Review Comment:
This comment is out of place now, would be good to document inline here as
well that we want to run async hooks for things like async persisters saving
state of sync steps
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]