buffalo_wings.wing.UnitsSpec
- class buffalo_wings.wing.UnitsSpec(length='m', angle='deg')[source]
Bases:
objectUnit declarations used by the serialized schema.
- Parameters:
length (LengthUnit)
angle (AngleUnit)
- length
Length unit used for dimensional wing quantities.
- Type:
{"m", "ft"}, default"m"
- angle
Angle unit used for twist and other angular quantities.
- Type:
{"deg", "rad"}, default"deg"
- __init__(length='m', angle='deg')
- Parameters:
length (LengthUnit)
angle (AngleUnit)
- Return type:
None
Methods
__init__([length, angle])Attributes