Make totals by class use human-readable names

This commit is contained in:
april
2024-01-11 16:40:19 -06:00
parent e1f21de98f
commit e7aead4063
2 changed files with 15 additions and 4 deletions

View File

@@ -78,6 +78,9 @@ class AircraftClass(Enum):
wss = "Weight-Shift Control Sea"
aircraft_class_dict = {cls.name: cls.value for cls in AircraftClass}
class AircraftCreateSchema(BaseModel):
tail_no: str
make: str