buffalo_wings.airfoil.AirfoilValidationResult
- class buffalo_wings.airfoil.AirfoilValidationResult(is_valid, diagnostics, validated_spec=None)[source]
Bases:
objectStructured validation result for one airfoil schema definition.
Attributes
Whether validation completed without any error diagnostics.
Structured diagnostics emitted by the validation workflow.
Defensive copy of the validated schema when validation succeeds.
- is_valid: bool
Whether validation completed without any error diagnostics.
This flag is
Trueonly 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_validisTrue.
- 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
Nonewhenever validation reports any error.