Ë
    $Æ%h’  ã                  ó\   — d dl mZ d dlZd dlmZmZ dd„Z e«       ddœ	 	 	 	 	 	 	 	 	 d	d„Zy)
é    )ÚannotationsN)ÚAnyÚCallablec                óH   — t        j                  | «      }||j                  v S )zBReturns whether or not the given function has a specific parameter)ÚinspectÚ	signatureÚ
parameters)ÚfuncÚarg_nameÚsigs      úW/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/openai/_utils/_reflection.pyÚfunction_has_argumentr      s!   € ä
×
Ñ
˜DÓ
!€CØ�s—~‘~Ð%Ð%ó    Ú )Úexclude_paramsÚdescriptionc               ó   — t        j                  |«      }t        j                  | «      }g }|j                  j                  «       D ]—  \  }}||v rŒ|j                  j	                  |«      }	|	s|j                  d|› d�«       Œ>|	j                  |j                  k7  sŒX|j                  d|› dt        |j                  «      › dt        |	j                  «      › �«       Œ™ |r,t        t        |«      › d|› d�dj                  |«      z   «      ‚y	)
zCEnsure that the signature of the second function matches the first.zthe `z` param is missingztypes for the `z!` param are do not match; source=z
 checking=z- errors encountered when comparing signaturesz:

z

N)r   r   r	   ÚitemsÚgetÚappendÚ
annotationÚreprÚAssertionErrorÚlenÚjoin)
Úsource_funcÚ
check_funcr   r   Ú	check_sigÚ
source_sigÚerrorsÚnameÚsource_paramÚcustom_params
             r   Úassert_signatures_in_syncr$      s6  € ô ×!Ñ! *Ó-€IÜ×"Ñ" ;Ó/€Jà€Fà(×3Ñ3×9Ñ9Ó;ò ÑˆˆlØ�>Ñ!Øà ×+Ñ+×/Ñ/°Ó5ˆÙØ�M‰M˜E $ Ð'9Ð:Ô;Øà×"Ñ" l×&=Ñ&=Ó=Ø�M‰MØ! $ Ð'HÌÈl×NeÑNeÓIfÐHgÐgqÔrvð  xD÷  xOñ  xOó  sPð  rQð  Rôð ðñ ÜÜ�6‹{ˆmÐHÈÈÐUZÐ[Ð^d×^iÑ^iÐjpÓ^qÑqó
ð 	
ð r   )r
   úCallable[..., Any]r   ÚstrÚreturnÚbool)
r   r%   r   r%   r   zset[str]r   r&   r'   ÚNone)	Ú
__future__r   r   Útypingr   r   r   Úsetr$   © r   r   ú<module>r.      sP   ðÝ "ã ß  ó&ñ  #›uØñ 
Ø#ð 
à"ð 
ð ð	 
ð
 ð 
ð 
ô 
r   