o
    ;i                     @   sH   d dl mZmZ d dlZejdkZdeeef deeef fddZdS )    )DictAnyN)      paramsreturnc                 C   sP   d| v r
| d }|S t r&ddl}|| }|du ri S |j||jjd}|S i S )zCGet annotations compatible with Python 3.14's deferred annotations.__annotations__r   N)format)PY314annotationlib!get_annotate_from_class_namespacecall_annotate_functionFormat
FORWARDREF)r   annotationsr   annotate r   C/home/ubuntu/.local/lib/python3.10/site-packages/grpclib/_compat.pyget_annotations   s   
r   )typingr   r   sysversion_infor
   strr   r   r   r   r   <module>   s    
&