
    rh                     F    d dl mZ d dlmZ ddlmZ d	dee   dee   fdZy)
    )Optional)proton   )get_profiling_onsessionreturnc                 B    t               syt        j                  |       S )z
    Get the depth of the context.

    Args:
        session (int): The session ID of the profiling session. Defaults to 0.

    Returns:
        depth (int or None): The depth of the context. If profiling is off, returns None.
    N)r   	libprotonget_context_depth)r   s    j/var/www/html/ai-insurance-compliance-backend/venv/lib/python3.12/site-packages/triton/profiler/context.pydepthr      s     &&w//    N)r   )	typingr   triton._C.libprotonr   r
   flagsr   intr    r   r   <module>r      s)     3 #08C= 0# 0r   