SerializedJob¶
- pydantic model safir.uws.SerializedJob¶
A single UWS job (Wobbly format).
- Parameters:
data (
Any
)- Fields:
id (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Job ID', description='Unique identifier of the job', examples=['47183']), pydantic.functional_validators.BeforeValidator(func=safir.uws._models.SerializedJob.
phase (Annotated[vo_models.uws.types.ExecutionPhase, FieldInfo(annotation=NoneType, required=True, title='Execution phase', description='Current execution phase of the job', examples=[
-
field creation_time:
Annotated
[TypeAliasType
] [Required]¶ When the job was created
-
field id:
Annotated
[str
] [Required]¶ Unique identifier of the job
- Constraints:
func = <function SerializedJob.<lambda> at 0x7fc8f1ca3b00>
json_schema_input_type = PydanticUndefined
-
field message_id:
Annotated
[str
|None
] = None¶ Internal message identifier for the work queuing system. Only meaningful to the service that stored this ID.
-
field phase:
Annotated
[ExecutionPhase
] [Required]¶ Current execution phase of the job
-
field quote:
Annotated
[TypeAliasType
|None
] = None¶ Expected completion time of the job if it were started now, or null to indicate that the expected duration is not known. If later than the destruction time, indicates that the job is not possible due to resource constraints.
-
field start_time:
Annotated
[TypeAliasType
|None
] = None¶ When the job started executing (if it has)