JobResult#

pydantic model safir.uws.JobResult#

A single result from a job.

Parameters:

data (Any)

Fields:
field id: Annotated[str] [Required]#

Identifier for this result

field mime_type: Annotated[str | None] = None#

MIME type of the result if known

field size: Annotated[int | None] = None#

Size of the result in bytes if known

field url: Annotated[str] [Required]#

URL where the result is stored

classmethod from_worker_result(result)#

Convert from the WorkerResult model.

Parameters:

result (WorkerResult)

Return type:

Self

to_xml_model()#

Convert to a Pydantic XML model.

Return type:

ResultReference