
    iT                        d dl mZ d dlmZmZmZmZmZ d dlm	Z	 ee
ef   Zee
eeedee
ef   ee   f   Zeee
eeedee
ef   ee   f   Zee
eeedee
ef   ee   eedf   e	f	   Zeee
eeedee
ef   ee   eedf   e	f
   ZeZeZddZd Zy)	    )Path)UnionDictAnyListTuple)OrderedDictN.c                 |    t        | t              st        |       } |r| j                         st        d|        | S )NzCan't read file: )
isinstancer   exists
ValueError)locationrequire_existss     [/var/www/vps2.regionflexible.com/Desarrollo/venv/lib/python3.12/site-packages/srsly/util.py
force_pathr      s9    h%>hoo/,XJ788O    c                 <    t        | t              r| S t        |       S )N)r   str)r   s    r   force_stringr      s    (C x=r   )T)pathlibr   typingr   r   r   r   r   collectionsr	   r   FilePathintfloatbool
JSONOutputbytesJSONOutputBin	JSONInputJSONInputBin	YAMLInput
YAMLOutputr   r    r   r   <module>r%      s     0 0 # d 3UD$S#XS	IJ
eS#udD$sCx.$s)ST#sE4tCH~tCy%PSUXPX/[ffg	UCeT4c3hcTYZ]_bZbTceppq	
r   