buffalo_wings.airfoil.FileAirfoilSpec

class buffalo_wings.airfoil.FileAirfoilSpec(type='file', path='', format='auto')[source]

Bases: object

Schema dataclass for a file-backed airfoil definition.

Attributes

type

Schema discriminator for a file-backed airfoil definition.

path

Path to the file containing the airfoil definition.

format

File format used to parse the airfoil definition.

type: Literal['file']

Schema discriminator for a file-backed airfoil definition.

path: str

Path to the file containing the airfoil definition.

format: Literal['auto', 'lednicer', 'selig', 'surface_curve', 'upper_lower']

File format used to parse the airfoil definition.