You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Events stream api with curl : /api/v0/samples/<sample_id>/events works perfectly fine but
python client - https://github.com/hatching/triage/blob/v0.1/python/triage/client.py#L488 doesn't work at all. It streams only the first event (ex: status: running) and then hangs for like 10 mins, and fails with a requests.exceptions.ChunkedEncodingError
I guess it throws the InvalidChunkLength error in between actual statuses.
I tried to stream the msgs using -
res.iter_content() and
read the content only when res.headers['Content-Type'] == "application/x-ndjson" but no luck. It fails to stream the msgs.
Thank you!
The text was updated successfully, but these errors were encountered:
Hello Team,
Events stream api with curl : /api/v0/samples/<sample_id>/events works perfectly fine but
python client - https://github.com/hatching/triage/blob/v0.1/python/triage/client.py#L488 doesn't work at all. It streams only the first event (ex: status: running) and then hangs for like 10 mins, and fails with a requests.exceptions.ChunkedEncodingError
I guess it throws the InvalidChunkLength error in between actual statuses.
I tried to stream the msgs using -
Thank you!
The text was updated successfully, but these errors were encountered: