Legs
Leg
Bases: BaseModel
Source code in passengersim/config/legs.py
arr_time
instance-attribute
Arrival time for this leg in Unix time.
In input files, this can be specified as a string in the format "HH:MM", with the hour in 24-hour format.
Unix time is the number of seconds since 00:00:00 UTC on 1 Jan 1970.
date
class-attribute
instance-attribute
Date for this leg.
dep_time
instance-attribute
Departure time for this leg in Unix time.
In input files, this can be specified as a string in the format "HH:MM", with the hour in 24-hour format.
Unix time is the number of seconds since 00:00:00 UTC on 1 Jan 1970.
fltno
instance-attribute
A unique identifier for this leg.
Each leg in a network should have a globally unique identifier (i.e. even
if the carrier is different, fltno
values should be unique.