edward_chen
05/18/2022, 8:40 PMstatus="Finished"
so it can pass the information to the child stream. But in the current chain, the stream immediately gets status="Processing"
so the child stream ends up not having any information.aaronsteers
05/18/2022, 8:56 PMaaronsteers
05/18/2022, 8:57 PMedward_chen
05/18/2022, 9:13 PMvalidate_response()
. Seems like that'd be the perfect use case here. Do you happen to have a code example of it?
def validate_response(response: requests.models.Response)→ None
data = response.json()
if data["status"] == "Finished":
# Return data
raise RetriableAPIError
Does raising the RetriableAPIError automatically cause that specific stream to rerun?
EDIT: It looks like raising the error just raises an exception. Sorry I misread, i didn't realize it was steps. I thought you meant one of those options.edward_chen
05/18/2022, 9:37 PMaaronsteers
05/18/2022, 9:49 PMDoes raising the RetriableAPIError automatically cause that specific stream to rerun?Yep! 👍
robby_robinson
09/14/2022, 6:02 PMaaronsteers
09/14/2022, 10:04 PM