_common.py — anthropic-sdk-python Source File
Architecture documentation for _common.py, a python file in the anthropic-sdk-python codebase. 1 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 16be8086_d39b_c4c3_734f_7eba795d7c74["_common.py"] 8e15841d_73ed_0919_b980_6665abd8592e["_exceptions"] 16be8086_d39b_c4c3_734f_7eba795d7c74 --> 8e15841d_73ed_0919_b980_6665abd8592e 3fcee123_f968_409a_1149_93670417930e["_google_auth.py"] 3fcee123_f968_409a_1149_93670417930e --> 16be8086_d39b_c4c3_734f_7eba795d7c74 style 16be8086_d39b_c4c3_734f_7eba795d7c74 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
from ..._exceptions import AnthropicError
INSTRUCTIONS = """
Anthropic error: missing required dependency `{library}`.
$ pip install anthropic[{extra}]
"""
class MissingDependencyError(AnthropicError):
def __init__(self, *, library: str, extra: str) -> None:
super().__init__(INSTRUCTIONS.format(library=library, extra=extra))
Domain
Subdomains
Classes
Dependencies
- _exceptions
Imported By
Source
Frequently Asked Questions
What does _common.py do?
_common.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain, SyncAPI subdomain.
What does _common.py depend on?
_common.py imports 1 module(s): _exceptions.
What files import _common.py?
_common.py is imported by 1 file(s): _google_auth.py.
Where is _common.py in the architecture?
_common.py is located at src/anthropic/lib/_extras/_common.py (domain: AnthropicClient, subdomain: SyncAPI, 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