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

beta_base64_image_source_param.py — anthropic-sdk-python Source File

Architecture documentation for beta_base64_image_source_param.py, a python file in the anthropic-sdk-python codebase. 5 imports, 2 dependents.

File python AnthropicClient 5 imports 2 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  ebeaece3_b312_125c_a996_f074dda52762["beta_base64_image_source_param.py"]
  c6699053_fad6_38a2_f621_9844eb5aedd2["_types"]
  ebeaece3_b312_125c_a996_f074dda52762 --> c6699053_fad6_38a2_f621_9844eb5aedd2
  40a4d499_6b34_0763_5e68_275c9212420c["_utils"]
  ebeaece3_b312_125c_a996_f074dda52762 --> 40a4d499_6b34_0763_5e68_275c9212420c
  c14e2467_291d_6c7c_2b25_9a24e81f8565["_models"]
  ebeaece3_b312_125c_a996_f074dda52762 --> c14e2467_291d_6c7c_2b25_9a24e81f8565
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  ebeaece3_b312_125c_a996_f074dda52762 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  ebeaece3_b312_125c_a996_f074dda52762 --> 37c05070_ca59_d596_7250_de9d1939227f
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"]
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> ebeaece3_b312_125c_a996_f074dda52762
  f054645d_1099_0773_edd9_9f613b9ff9c2["beta_image_block_param.py"]
  f054645d_1099_0773_edd9_9f613b9ff9c2 --> ebeaece3_b312_125c_a996_f074dda52762
  style ebeaece3_b312_125c_a996_f074dda52762 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

from __future__ import annotations

from typing import Union
from typing_extensions import Literal, Required, Annotated, TypedDict

from ..._types import Base64FileInput
from ..._utils import PropertyInfo
from ..._models import set_pydantic_config

__all__ = ["BetaBase64ImageSourceParam"]


class BetaBase64ImageSourceParam(TypedDict, total=False):
    data: Required[Annotated[Union[str, Base64FileInput], PropertyInfo(format="base64")]]

    media_type: Required[Literal["image/jpeg", "image/png", "image/gif", "image/webp"]]

    type: Required[Literal["base64"]]


set_pydantic_config(BetaBase64ImageSourceParam, {"arbitrary_types_allowed": True})

Dependencies

  • _models
  • _types
  • _utils
  • typing
  • typing_extensions

Frequently Asked Questions

What does beta_base64_image_source_param.py do?
beta_base64_image_source_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_base64_image_source_param.py depend on?
beta_base64_image_source_param.py imports 5 module(s): _models, _types, _utils, typing, typing_extensions.
What files import beta_base64_image_source_param.py?
beta_base64_image_source_param.py is imported by 2 file(s): __init__.py, beta_image_block_param.py.
Where is beta_base64_image_source_param.py in the architecture?
beta_base64_image_source_param.py is located at src/anthropic/types/beta/beta_base64_image_source_param.py (domain: AnthropicClient, directory: src/anthropic/types/beta).

Analyze Your Own Codebase

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

Try Supermodel Free