The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
2.1.2
ErrorDiagnosis
Package: flyteplugins.codegen
Structured diagnosis of execution errors.
Parameters
class ErrorDiagnosis(
failures: list[flyteplugins.codegen.core.types.TestFailure],
needs_system_packages: list[str],
needs_language_packages: list[str],
needs_additional_commands: list[str],
)Create a new model by parsing and validating input data from keyword arguments.
Raises
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.
| Parameter | Type | Description |
|---|---|---|
failures |
list[flyteplugins.codegen.core.types.TestFailure] |
Individual test failures with their diagnoses |
needs_system_packages |
list[str] |
System packages needed (e.g., gcc, pkg-config). |
needs_language_packages |
list[str] |
Language packages needed. |
needs_additional_commands |
list[str] |
Additional RUN commands (e.g., apt-get update, mkdir /data, wget files). |