ParametersModel

pydantic model safir.uws.ParametersModel

Defines the interface for a model suitable for job parameters.

Parameters:

data (Any)

Show JSON schema
{
   "title": "ParametersModel",
   "description": "Defines the interface for a model suitable for job parameters.",
   "type": "object",
   "properties": {}
}

abstract classmethod from_job_parameters(params)

Validate generic UWS parameters and convert to the internal model.

Parameters:

params (list[UWSJobParameter]) – Generic input job parameters.

Returns:

Parsed cutout parameters specific to service.

Return type:

ParametersModel

Raises:
abstract to_worker_parameters()

Convert to the domain model used by the backend worker.

Return type:

TypeVar(T, bound= BaseModel)