_google_auth.py — anthropic-sdk-python Source File
Architecture documentation for _google_auth.py, a python file in the anthropic-sdk-python codebase. 6 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 3fcee123_f968_409a_1149_93670417930e["_google_auth.py"] 16be8086_d39b_c4c3_734f_7eba795d7c74["_common.py"] 3fcee123_f968_409a_1149_93670417930e --> 16be8086_d39b_c4c3_734f_7eba795d7c74 5cb8dc23_eea8_fba9_d877_3c3a72ebf54a["MissingDependencyError"] 3fcee123_f968_409a_1149_93670417930e --> 5cb8dc23_eea8_fba9_d877_3c3a72ebf54a 0b708eb8_1cbe_351a_bdf5_7de9408aa5a3["_utils"] 3fcee123_f968_409a_1149_93670417930e --> 0b708eb8_1cbe_351a_bdf5_7de9408aa5a3 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] 3fcee123_f968_409a_1149_93670417930e --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] 3fcee123_f968_409a_1149_93670417930e --> 37c05070_ca59_d596_7250_de9d1939227f 5d34a4af_3eae_bb45_eeb1_c9da2b5f90cf["google.auth"] 3fcee123_f968_409a_1149_93670417930e --> 5d34a4af_3eae_bb45_eeb1_c9da2b5f90cf e47a4661_9099_91d0_7af3_41c49d1de999["__init__.py"] e47a4661_9099_91d0_7af3_41c49d1de999 --> 3fcee123_f968_409a_1149_93670417930e style 3fcee123_f968_409a_1149_93670417930e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
from __future__ import annotations
from typing import TYPE_CHECKING, Any
from typing_extensions import ClassVar, override
from ._common import MissingDependencyError
from ..._utils import LazyProxy
if TYPE_CHECKING:
import google.auth # type: ignore
google_auth = google.auth
class GoogleAuthProxy(LazyProxy[Any]):
should_cache: ClassVar[bool] = True
@override
def __load__(self) -> Any:
try:
import google.auth # type: ignore
except ImportError as err:
raise MissingDependencyError(extra="vertex", library="google-auth") from err
return google.auth
if not TYPE_CHECKING:
google_auth = GoogleAuthProxy()
Domain
Subdomains
Functions
Classes
Dependencies
- MissingDependencyError
- _common.py
- _utils
- google.auth
- typing
- typing_extensions
Imported By
Source
Frequently Asked Questions
What does _google_auth.py do?
_google_auth.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain, Authentication subdomain.
What functions are defined in _google_auth.py?
_google_auth.py defines 2 function(s): google, google_auth.
What does _google_auth.py depend on?
_google_auth.py imports 6 module(s): MissingDependencyError, _common.py, _utils, google.auth, typing, typing_extensions.
What files import _google_auth.py?
_google_auth.py is imported by 1 file(s): __init__.py.
Where is _google_auth.py in the architecture?
_google_auth.py is located at src/anthropic/lib/_extras/_google_auth.py (domain: AnthropicClient, subdomain: Authentication, directory: src/anthropic/lib/_extras).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free