Class JobEventSupport
java.lang.Object
com.alibaba.dashscope.resources.jobs.JobEventSupport
Shared payload/error mapping for the job-event streams (fine-tunes/deployments; Python v2 _sse.py
parity): payloads parse as JSON when possible, and an
event:error frame maps through the
catalog — status: absent means a business failure on an HTTP-200 stream, so the body's
own code picks the class.-
Method Summary
Modifier and TypeMethodDescriptionstatic ApiStatusExceptiontoException(JobEventStream.Frame frame) Oneevent:errorframe → the mapped exception (Python v2 _stream_error parity).static com.fasterxml.jackson.databind.JsonNode
-
Method Details
-
tryJson
-
toException
Oneevent:errorframe → the mapped exception (Python v2 _stream_error parity).
-