o
    /فi                     @   s>   d dl Z d dlmZ d dlmZ d dlmZ defddZdS )    N)Path)	FrameType)castreturnc                  C   s<   t tt j} t| }|sJ |jsJ t|jj	 S )z.Returns the callee (`__file__`) directory name)
r   r   inspectcurrentframef_back	getmodule__file__r   parentabsolute)framemodule r   ]/home/test-dt/pcm-url-check/venv/lib/python3.10/site-packages/playwright/_impl/_path_utils.pyget_file_dirname   s
   

r   )r   pathlibr   typesr   typingr   r   r   r   r   r   <module>   s
   