Home / File/ model_info.py — anthropic-sdk-python Source File

model_info.py — anthropic-sdk-python Source File

Architecture documentation for model_info.py, a python file in the anthropic-sdk-python codebase. 3 imports, 1 dependents.

File python AnthropicClient 3 imports 1 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  fda2aa78_bc52_7232_5c7a_55bb29a912a4["model_info.py"]
  699c911a_fb78_b883_732f_5ac6bf31d4a3["_models"]
  fda2aa78_bc52_7232_5c7a_55bb29a912a4 --> 699c911a_fb78_b883_732f_5ac6bf31d4a3
  7e1d14c5_475e_409c_7c4e_1274f9d40aa9["datetime"]
  fda2aa78_bc52_7232_5c7a_55bb29a912a4 --> 7e1d14c5_475e_409c_7c4e_1274f9d40aa9
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  fda2aa78_bc52_7232_5c7a_55bb29a912a4 --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> fda2aa78_bc52_7232_5c7a_55bb29a912a4
  style fda2aa78_bc52_7232_5c7a_55bb29a912a4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from datetime import datetime
from typing_extensions import Literal

from .._models import BaseModel

__all__ = ["ModelInfo"]


class ModelInfo(BaseModel):
    id: str
    """Unique model identifier."""

    created_at: datetime
    """RFC 3339 datetime string representing the time at which the model was released.

    May be set to an epoch value if the release date is unknown.
    """

    display_name: str
    """A human-readable name for the model."""

    type: Literal["model"]
    """Object type.

    For Models, this is always `"model"`.
    """

Classes

Dependencies

  • _models
  • datetime
  • typing_extensions

Frequently Asked Questions

What does model_info.py do?
model_info.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does model_info.py depend on?
model_info.py imports 3 module(s): _models, datetime, typing_extensions.
What files import model_info.py?
model_info.py is imported by 1 file(s): __init__.py.
Where is model_info.py in the architecture?
model_info.py is located at src/anthropic/types/model_info.py (domain: AnthropicClient, directory: src/anthropic/types).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free