Ë
    µŒj<  ã                   óZ   — 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y	)
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                   ór   — 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y)Ú
JiraActionz)Tool that queries the Atlassian Jira API.)Údefault_factoryÚapi_wrapperÚmodeÚ ÚnameÚdescriptionNÚinstructionsÚrun_managerÚreturnc                 óN   — | j                   j                  | j                  |«      S )z/Use the Atlassian Jira API to run an operation.)r   Úrunr   )Úselfr   r   s      úm/var/www/html/Fitness-lenito-AI-main/venv/lib/python3.12/site-packages/langchain_community/tools/jira/tool.pyÚ_runzJiraAction._run(   s!   € ð ×Ñ×#Ñ# D§I¡I¨|Ó<Ð<ó    )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Ú__annotations__Ústrr   r   r   r   r   © r   r   r	   r	       sY   … Ù3á"'¸Ô"G€K�ÓGØ
ƒIØ€Dˆ#ƒ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   