Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit c66a123

Browse files
committed
Better description of the multi-step search examples
1 parent ff4b054 commit c66a123

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

examples/multi-step-search-book-one-way-trip.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55

66

77
if __name__ == "__main__":
8-
print("Duffel Flights API - search, book and cancel example")
8+
print(
9+
"Duffel Flights API - search, book and cancel example for multi-step search - one way"
10+
)
11+
912
client = Duffel()
1013
departure_date = (date.today() + timedelta(weeks=2)).strftime("%Y-%m-%d")
11-
departure_date_2 = (date.today() + timedelta(weeks=4)).strftime("%Y-%m-%d")
1214
slices = [
1315
{
1416
"origin": "LHR",

examples/multi-step-search-book-return-trip.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66

77
if __name__ == "__main__":
8-
print("Duffel Flights API - search, book and cancel example")
8+
print(
9+
"Duffel Flights API - search, book and cancel example for multi-step search - return trip"
10+
)
911
client = Duffel()
1012
departure_date = (date.today() + timedelta(weeks=2)).strftime("%Y-%m-%d")
1113
departure_date_2 = (date.today() + timedelta(weeks=4)).strftime("%Y-%m-%d")

0 commit comments

Comments
 (0)