§
    ZŠtjÍ  ã                   óv   — d dl Z d dlZ ej        e¦  «        Z G d„ de j        ¦  «        Z G d„ d¦  «        ZdS )é    Nc                   ó"   — e Zd ZdZdZ	 dZ	 dZdS )Ú
StatusCodez@Represents the canonical set of status codes of a finished Span.r   é   é   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚUNSETÚOKÚERROR© ó    úX/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/opentelemetry/trace/status.pyr   r   
   s+   € € € € € ØJÐJà€EØà	
€BØrà€EØ*Ð*r   r   c                   ó®   — e Zd ZdZej        dfdededz  fd„Zedefd„¦   «         Z	ededz  fd„¦   «         Z
edefd	„¦   «         Zedefd
„¦   «         ZdS )ÚStatuszãRepresents the status of a finished Span.

    Args:
        status_code: The canonical status code that describes the result
            status of the operation.
        description: An optional description of the status.
    NÚstatus_codeÚdescriptionc                 óê   — || _         d | _        |r[t          |t          ¦  «        st                               d¦  «         d S |t          j        urt                               d¦  «         d S || _        d S )Nz-Invalid status description type, expected strzJdescription should only be set when status_code is set to StatusCode.ERROR)Ú_status_codeÚ_descriptionÚ
isinstanceÚstrÚloggerÚwarningr   r   )Úselfr   r   s      r   Ú__init__zStatus.__init__    s‚   € ð
 (ˆÔØ ˆÔàð 	Ý˜k­3Ñ/Ô/ð Ý—’ÐNÑOÔOÐOØ�Ø¥*Ô"2Ð2Ð2Ý—’Ø`ñô ð ð �à'ˆÔÐÐr   Úreturnc                 ó   — | j         S )z8Represents the canonical status code of a finished Span.)r   ©r   s    r   r   zStatus.status_code4   ó   € ð Ô Ð r   c                 ó   — | j         S )zStatus description)r   r    s    r   r   zStatus.description9   r!   r   c                 ó6   — | j         p| j        t          j        u S )z:Returns false if this represents an error, true otherwise.)Úis_unsetr   r   r   r    s    r   Úis_okzStatus.is_ok>   s   € ð Œ}ÐB Ô 1µZ´]Ð BÐBr   c                 ó(   — | j         t          j        u S )z'Returns true if unset, false otherwise.)r   r   r   r    s    r   r$   zStatus.is_unsetC   s   € ð Ô ¥JÔ$4Ð4Ð4r   )r   r   r	   r
   r   r   r   r   Úpropertyr   r   Úboolr%   r$   r   r   r   r   r      sý   € € € € € ðð ð #-Ô"2Ø"&ð(ð (àð(ð ˜4‘Zð(ð (ð (ð (ð( ð!˜Zð !ð !ð !ñ „Xð!ð ð!˜S 4™Zð !ð !ð !ñ „Xð!ð ðC�tð Cð Cð Cñ „XðCð ð5˜$ð 5ð 5ð 5ñ „Xð5ð 5ð 5r   r   )ÚenumÚloggingÚ	getLoggerr   r   ÚEnumr   r   r   r   r   ú<module>r-      s‰   ðð €€€Ø €€€à	ˆÔ	˜8Ñ	$Ô	$€ð
+ð 
+ð 
+ð 
+ð 
+�”ñ 
+ô 
+ð 
+ð/5ð /5ð /5ð /5ð /5ñ /5ô /5ð /5ð /5ð /5r   