+
    ~j	                         ^ RI t ^ RIt^ RIt]P                  ! ]4      t ! R R] P                  4      t ! R R4      tR# )    Nc                   *    ] tR t^tRt^ t ^t ^tRtR# )
StatusCodez@Represents the canonical set of status codes of a finished Span. N)	__name__
__module____qualname____firstlineno____doc__UNSETOKERROR__static_attributes__r       o/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/opentelemetry/trace/status.pyr   r      s    JE	
BrE*r   r   c                      a  ] tR t^#t o Rt]P                  R3V 3R lR llt]V 3R lR l4       t	]V 3R lR l4       t
]V 3R	 lR
 l4       t]V 3R lR l4       tRtV tR# )StatuszRepresents 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.
Nc                J   < V ^8  d   QhRS[ RS[P                  S[,          /# )   status_codedescription)r   typingOptionalstr)format__classdict__s   "r   __annotate__Status.__annotate__,   s(     ( (( __S)(r   c                    Wn         R V n        V'       dY   \        V\        4      '       g   \        P                  R4       R # V\        P                  Jd   \        P                  R4       R # W n        R # )Nz-Invalid status description type, expected strzJdescription should only be set when status_code is set to StatusCode.ERROR)_status_code_description
isinstancer   loggerwarningr   r   )selfr   r   s   &&&r   __init__Status.__init__,   sZ    
 ( k3//NO*"2"22` 'r   c                    < V ^8  d   QhRS[ /# r   return)r   )r   r   s   "r   r   r   A   s     ! !Z !r   c                    V P                   # )z8Represents the canonical status code of a finished Span.)r   r$   s   &r   r   Status.status_code@           r   c                D   < V ^8  d   QhRS[ P                  S[,          /# r(   )r   r   r   )r   r   s   "r   r   r   F   s     ! !V__S1 !r   c                    V P                   # )zStatus description)r    r+   s   &r   r   Status.descriptionE   r-   r   c                    < V ^8  d   QhRS[ /# r(   bool)r   r   s   "r   r   r   K   s     C Ct Cr   c                b    V P                   ;'       g    V P                  \        P                  J # )z:Returns false if this represents an error, true otherwise.)is_unsetr   r   r   r+   s   &r   is_okStatus.is_okJ   s%     }}BB 1 1Z]] BBr   c                    < V ^8  d   QhRS[ /# r(   r2   )r   r   s   "r   r   r   P   s     5 5$ 5r   c                :    V P                   \        P                  J # )z'Returns true if unset, false otherwise.)r   r   r   r+   s   &r   r5   Status.is_unsetO   s       J$4$444r   )r    r   )r   r   r   r	   r
   r   r   r%   propertyr   r   r6   r5   r   __classdictcell__)r   s   @r   r   r   #   st      #-"2"2,0( (( ! ! ! ! C C 5 5r   r   )	enumloggingr   	getLoggerr   r"   Enumr   r   r   r   r   <module>rA      s:      			8	$
+ 
+/5 /5r   