buffalo_wings.airfoil.AirfoilValidationResult

class buffalo_wings.airfoil.AirfoilValidationResult(is_valid, diagnostics, validated_spec=None)[source]

Bases: object

Structured validation result for one airfoil schema definition.

Attributes

is_valid

Whether validation completed without any error diagnostics.

diagnostics

Structured diagnostics emitted by the validation workflow.

validated_spec

Defensive copy of the validated schema when validation succeeds.

is_valid: bool

Whether validation completed without any error diagnostics.

This flag is True only when the associated diagnostic report contains no errors.

diagnostics: DiagnosticReport

Structured diagnostics emitted by the validation workflow.

The report may include warnings or informational entries even when is_valid is True.

validated_spec: Naca4AirfoilSpec | Naca4ModifiedAirfoilSpec | Naca5AirfoilSpec | Naca5ModifiedAirfoilSpec | Naca16AirfoilSpec | FlatPlateAirfoilSpec | BiconvexAirfoilSpec | BiconvexParabolaAirfoilSpec | PolygonAirfoilSpec | EllipseAirfoilSpec | CircularArcAirfoilSpec | JoukowskiAirfoilSpec | Naca6AirfoilSpec | Naca6AAirfoilSpec | FileAirfoilSpec | PointsAirfoilSpec | SplineAirfoilSpec | CstAirfoilSpec | ParsecAirfoilSpec | None

Defensive copy of the validated schema when validation succeeds.

This field remains None whenever validation reports any error.