iamharisai commited on
Commit
aab5621
·
verified ·
1 Parent(s): 2c6a40c

fix: argument desc in get_stock_price

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -37,7 +37,8 @@ def get_current_time_in_timezone(timezone: str) -> str:
37
  def get_stock_price(symbol: str) -> str:
38
  """
39
  The tool that provides the current stock price for given symbol.
40
- Args: It will take the stock symbol as a string and return the stock price
 
41
  """
42
  # symbol = 'AAPL'
43
  api_url = 'https://api.api-ninjas.com/v1/stockprice?ticker={}'.format(symbol)
 
37
  def get_stock_price(symbol: str) -> str:
38
  """
39
  The tool that provides the current stock price for given symbol.
40
+ Args:
41
+ symbol: A string representing the valid stock symbol (eg., 'meta' or 'aapl'
42
  """
43
  # symbol = 'AAPL'
44
  api_url = 'https://api.api-ninjas.com/v1/stockprice?ticker={}'.format(symbol)