Аня попросила чуть чуть изменить

This commit is contained in:
maksim 2024-06-05 20:37:30 +04:00
parent f6685b2d82
commit 25c34daadd

View File

@ -28,13 +28,7 @@ async def get_flight(request: TripRequest):
resultTo = genetic_algorithm(start=start_point, end=end_point, graph=graphTo, flights_data=flightsDataTo, resultTo = genetic_algorithm(start=start_point, end=end_point, graph=graphTo, flights_data=flightsDataTo,
type="to") type="to")
resultTo.append({ resultTo.append({
"back": [ "back": []
{
"id": None,
"departurePoint": None,
"destinationPoint": None
}
]
}) })
if not resultTo: if not resultTo: