check_flights with is_direct #8

Closed
opened 2026-10-24 17:39:40 +02:00 by Tirsvad · 0 comments
Owner

Add the is_direct=True parameter. Direct: SerpAPI stops=1 (nonstop only). Indirect: the SerpAPI value for up to 1 or 2 stops; the mock provider filters by number of stops. Pass the stops to FlightData. Keep the response cache.

Phase: MIL-002

Add the `is_direct=True` parameter. Direct: SerpAPI `stops=1` (nonstop only). Indirect: the SerpAPI value for up to 1 or 2 stops; the mock provider filters by number of stops. Pass the stops to `FlightData`. Keep the response cache. Phase: MIL-002
Tirsvad added this to the MIL-002 Flight data and indirect search milestone 2026-10-24 17:39:40 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/040-personal-flight-club#8