Database
db
¤
models
¤
aircraft
¤
PyPaxConfigAlgorithm
module-attribute
¤
PyPaxConfigAlgorithm = Literal[
"AUTO", "FJY", "FYJ", "JFY", "JYF", "YFJ", "YJF"
]
PyConfigAlgorithmPax
module-attribute
¤
PyConfigAlgorithmPax = Literal[
"AUTO", "FJY", "FYJ", "JFY", "JYF", "YFJ", "YJF"
]
PyPaxConfig
¤
PyCargoConfig
¤
PyAircraft
¤
Bases: BaseModel
PyAircraftSuggestion
¤
Bases: BaseModel
demand
¤
game
¤
StrToUpper
module-attribute
¤
StrToUpper = BeforeValidator(
func=lambda x: strip() if isinstance(x, str) else x
)
StrPctToFloat
module-attribute
¤
StrPctToFloat = BeforeValidator(
func=lambda x: (
float(replace("%", "e-2"))
if isinstance(x, str) and endswith("%")
else x
)
)
PyUserWhitelistedKeys
module-attribute
¤
PyUserWhitelistedKeys = Literal[
"game_id",
"game_name",
"game_mode",
"wear_training",
"repair_training",
"l_training",
"h_training",
"fuel_training",
"co2_training",
"fuel_price",
"co2_price",
"accumulated_count",
"load",
"income_loss_tol",
"fourx",
]
route
¤
PyACROptionsConfigAlgorithm
module-attribute
¤
PyACROptionsConfigAlgorithm = Literal[
PyConfigAlgorithmPax, PyConfigAlgorithmCargo
]
PyACROptionsTPDMode
module-attribute
¤
PyACROptionsTPDMode = Literal[
"AUTO", "STRICT_ALLOW_MULTIPLE_AC", "STRICT"
]
PyRoute
¤
Bases: BaseModel
PyACRouteStopover
¤
PyACRouteStopoverNonExistent
¤
PyACRoute
¤
Bases: BaseModel
trips_per_day_per_ac
class-attribute
instance-attribute
¤
ticket
class-attribute
instance-attribute
¤
ticket: Optional[
PyPaxTicket | PyCargoTicket | PyVIPTicket
] = None
stopover
class-attribute
instance-attribute
¤
stopover: Optional[
PyACRouteStopover | PyACRouteStopoverNonExistent
] = None