Spaces:
Sleeping
Sleeping
Update tools/flight_status.py
Browse files- tools/flight_status.py +1 -1
tools/flight_status.py
CHANGED
@@ -8,7 +8,7 @@ class FlightStatus(Tool):
|
|
8 |
inputs = {'flight': {'type': 'string', 'description': 'Flight Code to fetch the information.'}}
|
9 |
output_type = "any"
|
10 |
|
11 |
-
def forward(self) -> dict:
|
12 |
"""
|
13 |
Fetches the status of a flight by querying the AviationStack API.
|
14 |
Returns a dictionary containing flight status or error details.
|
|
|
8 |
inputs = {'flight': {'type': 'string', 'description': 'Flight Code to fetch the information.'}}
|
9 |
output_type = "any"
|
10 |
|
11 |
+
def forward(self,flight: str) -> dict:
|
12 |
"""
|
13 |
Fetches the status of a flight by querying the AviationStack API.
|
14 |
Returns a dictionary containing flight status or error details.
|