
    $h                    0    S SK Jr  S SKJr  SS jrSS jrg)    )annotations)UUIDc                2    U R                   n[        US5      $ )zGet OpenTelemetry trace ID as integer from UUID.

Args:
    uuid_val: The UUID to convert.

Returns:
    Integer representation of the trace ID.
   )hexint)uuid_valtrace_id_hexs     W/var/www/html/shao/venv/lib/python3.13/site-packages/langsmith/_internal/_otel_utils.pyget_otel_trace_id_from_uuidr      s     <<L|R      c                \    U R                   nUSS nUR                  5       n[        US5      $ )zGet OpenTelemetry span ID as integer from UUID.

Args:
    uuid_val: The UUID to convert.

Returns:
    Integer representation of the span ID.
N   r   )bytesr   r   )r	   
uuid_bytesspan_id_bytesspan_id_hexs       r   get_otel_span_id_from_uuidr      s3     JrNM##%K{Br   N)r	   r   returnr   )
__future__r   uuidr   r   r    r   r   <module>r      s    " 
! r   