
    MKiJ                    Z    S r SSKJr  Sr " S S\5      r " S S\5      r " S S	\5      rg
)zLangGraph specific warnings.    )annotations)LangGraphDeprecationWarningLangGraphDeprecatedSinceV05LangGraphDeprecatedSinceV10c                  t   ^  \ rS rSr% SrS\S'   S\S'   S\S'   SS	.         SU 4S
 jjjrSS jrSrU =r	$ )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U ]  " U/UQ76   UR                  S5      U l        X l        Ub  UU l        g US   S-   S4U l        g )N.r      )super__init__rstripr
   r   r   )selfr
   r   r   args	__class__s        T/var/www/html/dynamic-report/venv/lib/python3.13/site-packages/langgraph/warnings.pyr   $LangGraphDeprecationWarning.__init__   sV     	(4(~~c*
 0 < 	CH8a<QRBS 	    c           
         U R                    SU R                  S    SU R                  S    SU R                  S    SU R                  S    S3
nU$ )Nz. Deprecated in LangGraph Vr   r   r   z to be removed in V)r
   r   r   )r   r
   s     r   __str__#LangGraphDeprecationWarning.__str__*   sd    ||n7

1a

ST!$"7"7":!;1T=R=RST=U<VVWY 	 r   )r   r
   r   )
r
   r	   r   objectr   r   r   ztuple[int, int] | NonereturnNone)r   r	   )
__name__
__module____qualname____firstlineno____doc____annotations__r   r   __static_attributes____classcell__r   s   @r   r   r      sd    	 L%% 48

 
 	

 1
 

 
 r   r   c                  0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )r   2   zjA specific `LangGraphDeprecationWarning` subclass defining functionality deprecated since LangGraph v0.5.0c                0   > [         TU ]  " U/UQ7SSS.6  g )N)r         r   r   r   r   r   r   r
   r   r   s      r   r   $LangGraphDeprecatedSinceV05.__init__5       O4OvOr    r
   r	   r   r   r   r   r    r!   r"   r#   r$   r   r&   r'   r(   s   @r   r   r   2       tP Pr   r   c                  0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )r   9   zjA specific `LangGraphDeprecationWarning` subclass defining functionality deprecated since LangGraph v1.0.0c                0   > [         TU ]  " U/UQ7SSS.6  g )N)r   r   r-   r/   r0   r1   s      r   r   $LangGraphDeprecatedSinceV10.__init__<   r3   r   r4   r5   r6   r(   s   @r   r   r   9   r7   r   r   N)r$   
__future__r   __all__DeprecationWarningr   r   r   r4   r   r   <module>r?      s>    " "#"4 #LP"= PP"= Pr   