UWSJob

class safir.uws.UWSJob(job_id, message_id, owner, phase, run_id, creation_time, start_time, end_time, destruction_time, execution_duration, quote, error, parameters, results)

Bases: object

Represents a single UWS job.

Parameters:

Methods Summary

to_xml_model(parameters_type, job_summary_type)

Convert to a Pydantic XML model.

Methods Documentation

to_xml_model(parameters_type, job_summary_type)

Convert to a Pydantic XML model.

Parameters:
  • parameters_type (type[TypeVar(P, bound= ParametersModel)]) – Model class used for the job parameters.

  • job_summary_type (type[TypeVar(S, bound= JobSummary)]) – XML model class for the job summary.

Returns:

XML model corresponding to this job.

Return type:

vo_models.uws.models.JobSummary