Ë
    ÒÍ:jÍ  ã                   óv   — d dl Z d dlZ ej                  e«      Z G d„ de j
                  «      Z G d„ d«      Zy)é    Nc                   ó    — e Zd ZdZdZ	 dZ	 dZy)Ú
StatusCodez@Represents the canonical set of status codes of a finished Span.r   é   é   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚUNSETÚOKÚERROR© ó    úo/home/mcse/projects/srt_converter/srt-converter-venv/lib/python3.12/site-packages/opentelemetry/trace/status.pyr   r   
   s   „ Ù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y)Ú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 | _        |rNt        |t        «      st        j                  d«       y |t        j                  urt        j                  d«       y || _        y )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ØØ¤*×"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                 óV   — | j                   xs | 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Ñ 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Ð4Ð4r   )r   r   r	   r
   r   r   r   r   Úpropertyr   r   Úboolr%   r$   r   r   r   r   r      s£   „ ñð #-×"2Ñ"2Ø"&ñ(àð(ð ˜4‘Zó(ð( ð!˜Zò !ó ð!ð ð!˜S 4™Zò !ó ð!ð ðC�tò Có ðCð ð5˜$ò 5ó ñ5r   r   )ÚenumÚloggingÚ	getLoggerr   r   ÚEnumr   r   r   r   r   ú<module>r-      s9   ðó Û à	ˆ×	Ñ	˜8Ó	$€ô
+�—‘ô 
+÷/5ò /5r   