FlightData(
date="2024-11-15", # Date of departure
from_airport="LAX",
to_airport="SFO"
),
# ... include more for round trips
],
trip="one-way", # Trip (round-trip, one-way)
seat="economy", # Seat (economy, premium-economy, business or first)
passengers=Passengers(
adults=1,
),
)
result = get_flights(filter)
print("The price is currently", result.current_price)`
Hi, getting error: RuntimeError: No flights found. (preflight checked) Possible reasons:
Am getting this for a very simplified version of the readme code for a flight I am certain exists. Any idea what might be wrong?