
    dhV                     N    S r SSKJr  SSKJr  SSKJr  SSKJr   " S S\5      r	g)	zTool for the Google Finance    )Optional)CallbackManagerForToolRun)BaseTool)GoogleFinanceAPIWrapperc                   b    \ rS rSr% SrSr\\S'   Sr\\S'   \	\S'    SS	\S
\
\   S\4S jjrSrg)GoogleFinanceQueryRun   z)Tool that queries the Google Finance API.google_financenamezA wrapper around Google Finance Search. Useful for when you need to get information aboutgoogle search Finance from Google FinanceInput should be a search query.descriptionapi_wrapperNqueryrun_managerreturnc                 8    U R                   R                  U5      $ )zUse the tool.)r   run)selfr   r   s      e/var/www/html/shao/venv/lib/python3.13/site-packages/langchain_community/tools/google_finance/tool.py_runGoogleFinanceQueryRun._run   s     ##E**     )N)__name__
__module____qualname____firstlineno____doc__r   str__annotations__r   r   r   r   r   __static_attributes__r   r   r   r   r      sZ    3 D# 	*   )(
 <@++ 78+ 
	+ +r   r   N)
r   typingr   langchain_core.callbacksr   langchain_core.toolsr   ,langchain_community.utilities.google_financer   r   r   r   r   <module>r%      s     !  > ) P+H +r   