UWSJobResult

class safir.uws.UWSJobResult(result_id, url, size=None, mime_type=None)

Bases: object

A single result from the job.

Parameters:

Attributes Summary

mime_type

MIME type of the result.

size

Size of the result in bytes.

Methods Summary

to_xml_model()

Convert to a Pydantic XML model.

Attributes Documentation

mime_type: str | None = None

MIME type of the result.

size: int | None = None

Size of the result in bytes.

Methods Documentation

to_xml_model()

Convert to a Pydantic XML model.

Return type:

ResultReference