Tasks and Services#
- class GenericTaskResult(*, schema_name='qca_generic_task_result', id, results, stdout=None, stderr=None, success, provenance, extras={}, error=None)[source]#
Bases:
BaseModelCreate a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
schema_name (Literal['qca_generic_task_result'])
id (int)
results (Any)
stdout (str | None)
stderr (str | None)
success (bool)
provenance (Provenance)
extras (dict[str, Any])
error (ComputeError | None)
- schema_name: Literal['qca_generic_task_result']#
- id: int#
- results: Any#
- stdout: str | None#
- stderr: str | None#
- success: bool#
- provenance: Provenance#
- extras: dict[str, Any]#
- error: ComputeError | None#
- model_config = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].