o
    i~                     @   s2   d dl Z d dlmZ d dlZe ZdddZdS )    N)TypeVarc                 C   sZ   t | s
t | r| jd}nt| trd| j }nd }|d u r%| j}tj	| ||dS )N_
_BLOCKING_)target_module)
inspectisclass
isfunction__name__lstrip
isinstancer   
__module__synchronizercreate_blocking)objr   blocking_name r   S/home/ubuntu/.local/lib/python3.10/site-packages/pipecatcloud/_utils/async_utils.pysynchronize_api   s   
r   )N)r   typingr   synchronicitySynchronizerr   r   r   r   r   r   <module>   s
   