Ë
    þ”9iJ  ã                  óZ   — d Z ddlmZ dZ G d„ de«      Z G d„ de«      Z G d„ d	e«      Zy
)zLangGraph specific warnings.é    )Úannotations)ÚLangGraphDeprecationWarningÚLangGraphDeprecatedSinceV05ÚLangGraphDeprecatedSinceV10c                  ód   ‡ — e Zd ZU dZded<   ded<   ded<   ddœ	 	 	 	 	 	 	 	 	 dˆ fd	„Zdd
„Zˆ xZS )r   aÀ  A LangGraph specific deprecation warning.

    Attributes:
        message: Description of the warning.
        since: LangGraph version in which the deprecation was introduced.
        expected_removal: LangGraph version in what the corresponding functionality expected to be removed.

    Inspired by the Pydantic `PydanticDeprecationWarning` class, which sets a great standard
    for deprecation warnings with clear versioning information.
    ÚstrÚmessageútuple[int, int]ÚsinceÚexpected_removalN)r   c               ó’   •— t        ‰|   |g|¢­Ž  |j                  d«      | _        || _        ||| _        y |d   dz   df| _        y )Nú.r   é   )ÚsuperÚ__init__Úrstripr	   r   r   )Úselfr	   r   r   ÚargsÚ	__class__s        €ú\/var/www/html/backtest/airagagent/rag_env/lib/python3.12/site-packages/langgraph/warnings.pyr   z$LangGraphDeprecationWarning.__init__   sX   ø€ ô 	‰Ñ˜Ð( 4Ó(Ø—~‘~ cÓ*ˆŒØˆŒ
à 0Ð <Ðð 	ÕØCHÈÁ8ÈaÁ<ÐQRÐBSð 	Õó    c           
     ó¤   — | j                   › d| j                  d   › d| j                  d   › d| j                  d   › d| j                  d   › d
}|S )Nz. Deprecated in LangGraph Vr   r   r   z to be removed in V)r	   r   r   )r   r	   s     r   Ú__str__z#LangGraphDeprecationWarning.__str__*   sd   € à|‰|ˆnÐ7¸¿
¹
À1¹°ÀaÈÏ
É
ÐSTÉÀØ! $×"7Ñ"7¸Ñ":Ð!;¸1¸T×=RÑ=RÐSTÑ=UÐ<VÐVWðYð 	ð ˆr   )
r	   r   r   Úobjectr   r
   r   ztuple[int, int] | NoneÚreturnÚNone)r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r   r   Ú__classcell__©r   s   @r   r   r      sZ   ø… ñ	ð ƒLØÓØ%Ó%ð 48ñ
àð
ð ð
ð ð	
ð
 1ð
ð 
õ
÷r   r   c                  ó$   ‡ — e Zd ZdZdˆ fd„Zˆ xZS )r   zjA specific `LangGraphDeprecationWarning` subclass defining functionality deprecated since LangGraph v0.5.0c                ó.   •— t        ‰|   |g|¢­dddœŽ y )N)r   é   ©é   r   ©r   r   ©r   r   ©r   r	   r   r   s      €r   r   z$LangGraphDeprecatedSinceV05.__init__5   ó   ø€ Ü‰Ñ˜ÐO 4ÑO¨vÈÔOr   ©r	   r   r   r   r   r   ©r   r   r   r    r   r"   r#   s   @r   r   r   2   ó   ø„ Ùt÷Pñ Pr   r   c                  ó$   ‡ — e Zd ZdZdˆ fd„Zˆ xZS )r   zjA specific `LangGraphDeprecationWarning` subclass defining functionality deprecated since LangGraph v1.0.0c                ó.   •— t        ‰|   |g|¢­dddœŽ y )N)r   r   r'   r)   r*   r+   s      €r   r   z$LangGraphDeprecatedSinceV10.__init__<   r,   r   r-   r.   r#   s   @r   r   r   9   r/   r   r   N)r    Ú
__future__r   Ú__all__ÚDeprecationWarningr   r   r   © r   r   ú<module>r6      s>   ðÙ "å "ð€ô#Ð"4ô #ôLPÐ"=ô PôPÐ"=õ Pr   