ahudock commited on
Commit
f3bf97a
·
1 Parent(s): 966940f

Add return type

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
39
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
40
 
41
  @tool
42
- def yf_get_ticker_price(ticker: str):
43
  """
44
  Return the latest closing price for a stock ticker.
45
 
 
39
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
40
 
41
  @tool
42
+ def yf_get_ticker_price(ticker: str) -> float:
43
  """
44
  Return the latest closing price for a stock ticker.
45