fix: argument desc in get_stock_price
Browse files
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:
|
|
|
|
| 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)
|