§
    m
¼i  ã                   ó„   — d Z ddlmZmZ ddlmZ erddlmZmZ ddl	m
Z
 ddddœZ eee¬	¦  «        Zd
edefd„Zg d¢ZdS )a†  This module provides dynamic access to deprecated JSON tools in LangChain.

It ensures backward compatibility by forwarding references such as
`JsonGetValueTool`, `JsonListKeysTool`, and `JsonSpec` to their updated
locations within the `langchain_community.tools` namespace.

This setup allows legacy code to continue working while guiding developers
toward using the updated module paths.
é    )ÚTYPE_CHECKINGÚAny)Úcreate_importer)ÚJsonGetValueToolÚJsonListKeysTool)ÚJsonSpecz#langchain_community.tools.json.toolzlangchain_community.tools)r   r   r   )Údeprecated_lookupsÚnameÚreturnc                 ó    — t          | ¦  «        S )aK  Dynamically retrieve attributes from the updated module path.

    This method is used to resolve deprecated attribute imports
    at runtime and forward them to their new locations.

    Args:
        name: The name of the attribute to import.

    Returns:
        The resolved attribute from the appropriate updated module.
    )Ú_import_attribute)r
   s    ú•C:\Users\Dell Inspiron 16\Desktop\tws\AgrotaPowerBi\back-agrota-powerbi\mcp-client-agrota\venv\Lib\site-packages\langchain_classic/tools/json/tool.pyÚ__getattr__r      s   € õ ˜TÑ"Ô"Ð"ó    )r   r   r   N)Ú__doc__Útypingr   r   Úlangchain_classic._apir   Úlangchain_community.toolsr   r   Ú#langchain_community.tools.json.toolr   ÚDEPRECATED_LOOKUPÚ__package__r   Ústrr   Ú__all__© r   r   ú<module>r      sÔ   ððð ð &Ð %Ð %Ð %Ð %Ð %Ð %Ð %à 2Ð 2Ð 2Ð 2Ð 2Ð 2àð =ØLÐLÐLÐLÐLÐLÐLÐLØ<Ð<Ð<Ð<Ð<Ð<ð 6Ø3Ø3ðð Ð ð $O KÐDUÐVÑVÔVÐ ð#cð #˜cð #ð #ð #ð #ðð ð €€€r   