Spaces:
Sleeping
Sleeping
Update tools/flight_status.py
Browse files- tools/flight_status.py +2 -1
tools/flight_status.py
CHANGED
@@ -13,7 +13,8 @@ class FlightStatus(Tool):
|
|
13 |
Fetches the status of a flight by querying the AviationStack API.
|
14 |
Returns a dictionary containing flight status or error details.
|
15 |
"""
|
16 |
-
flight_number = self.inputs.get('flight')
|
|
|
17 |
api_key = "6ffd5cb6e366ed0cf24a1caa38b17c31"
|
18 |
|
19 |
# Ensure flight number and API key are provided
|
|
|
13 |
Fetches the status of a flight by querying the AviationStack API.
|
14 |
Returns a dictionary containing flight status or error details.
|
15 |
"""
|
16 |
+
#flight_number = self.inputs.get('flight')
|
17 |
+
flight_number = flight
|
18 |
api_key = "6ffd5cb6e366ed0cf24a1caa38b17c31"
|
19 |
|
20 |
# Ensure flight number and API key are provided
|