§
    šŠtj<  ã                   ób   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
  G d„ de¦  «        Zd	S )
a|  
This tool allows agents to interact with the atlassian-python-api library
and operate on a Jira instance. For more information on the
atlassian-python-api library, see https://atlassian-python-api.readthedocs.io/jira.html

To use this tool, you must first set as environment variables:
    JIRA_API_TOKEN
    JIRA_USERNAME
    JIRA_INSTANCE_URL
    JIRA_CLOUD

Below is a sample script that uses the Jira tool:

```python
from langchain_community.agent_toolkits.jira.toolkit import JiraToolkit
from langchain_community.utilities.jira import JiraAPIWrapper

jira = JiraAPIWrapper()
toolkit = JiraToolkit.from_jira_api_wrapper(jira)
```
é    )ÚOptional)ÚCallbackManagerForToolRun)ÚBaseTool)ÚField)ÚJiraAPIWrapperc                   ó€   — e Zd ZU dZ ee¬¦  «        Zeed<   eed<   dZ	eed<   dZ
eed<   	 dd	ed
ee         defd„ZdS )Ú
JiraActionz)Tool that queries the Atlassian Jira API.)Údefault_factoryÚapi_wrapperÚmodeÚ ÚnameÚdescriptionNÚinstructionsÚrun_managerÚreturnc                 óB   — | j                              | j        |¦  «        S )z/Use the Atlassian Jira API to run an operation.)r   Úrunr   )Úselfr   r   s      úa/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/langchain_community/tools/jira/tool.pyÚ_runzJiraAction._run(   s   € ð Ô×#Ò# D¤I¨|Ñ<Ô<Ð<ó    )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Ú__annotations__Ústrr   r   r   r   r   © r   r   r	   r	       s    € € € € € € Ø3Ð3à"' %¸Ð"GÑ"GÔ"G€K�ÐGÐGÑGØ
€I€I�IØ€Dˆ#€N€N�NØ€K�ÐÐÑð
 <@ð=ð =àð=ð Ð7Ô8ð=ð 
ð	=ð =ð =ð =ð =ð =r   r	   N)r   Útypingr   Úlangchain_core.callbacksr   Úlangchain_core.toolsr   Úpydanticr   Ú"langchain_community.utilities.jirar   r	   r   r   r   ú<module>r%      sŸ   ððð ð, Ð Ð Ð Ð Ð à >Ð >Ð >Ð >Ð >Ð >Ø )Ð )Ð )Ð )Ð )Ð )Ø Ð Ð Ð Ð Ð à =Ð =Ð =Ð =Ð =Ð =ð=ð =ð =ð =ð =�ñ =ô =ð =ð =ð =r   