Bshraman commited on
Commit
df1d628
·
verified ·
1 Parent(s): a002e86

Update tools/flight_status.py

Browse files
Files changed (1) hide show
  1. 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.