
    Áj:                    L    d dl mZ d dlmZ ddlmZmZ erd dlm	Z	 ddgZ
d
dZy	)    )annotations)TYPE_CHECKING   )refresh_credentialsload_default_credentials)Credentials	load_authrefresh_authc                J    t        d      \  }}| s|} | st        d      || fS )Nvertex)extrazCould not resolve project_id)r   
ValueError)
project_idcredentialsloaded_project_ids      A/tmp/pip-target-k_scjv0h/lib/python/anthropic/lib/vertex/_auth.pyr	   r	      s4    %=H%M"K"&
788
""    N)r   z
str | Nonereturnztuple[Credentials, str])
__future__r   typingr   _extras._google_authr   r
   r   google.auth.credentialsr   __all__r	    r   r   <module>r      s%    "   `3 
'	#r   