beta_request_document_block_param.py — anthropic-sdk-python Source File
Architecture documentation for beta_request_document_block_param.py, a python file in the anthropic-sdk-python codebase. 16 imports, 5 dependents.
Entity Profile
Dependency Diagram
graph LR 2a38c83e_f997_210b_c58a_f947e0752866["beta_request_document_block_param.py"] 3671239b_a2bf_94eb_3b2a_ede0d34645c3["beta_url_pdf_source_param.py"] 2a38c83e_f997_210b_c58a_f947e0752866 --> 3671239b_a2bf_94eb_3b2a_ede0d34645c3 b6a4580c_c5a5_faed_9097_326376048f08["BetaURLPDFSourceParam"] 2a38c83e_f997_210b_c58a_f947e0752866 --> b6a4580c_c5a5_faed_9097_326376048f08 7acde330_c405_04dd_fd28_742a74feb6fa["beta_citations_config_param.py"] 2a38c83e_f997_210b_c58a_f947e0752866 --> 7acde330_c405_04dd_fd28_742a74feb6fa 0e968bca_5562_bf17_5cf2_720223400f88["BetaCitationsConfigParam"] 2a38c83e_f997_210b_c58a_f947e0752866 --> 0e968bca_5562_bf17_5cf2_720223400f88 b844c472_4ba9_9b1a_28f4_7175aaadd739["beta_base64_pdf_source_param.py"] 2a38c83e_f997_210b_c58a_f947e0752866 --> b844c472_4ba9_9b1a_28f4_7175aaadd739 828190da_20e9_d3d0_b508_5ec448845532["BetaBase64PDFSourceParam"] 2a38c83e_f997_210b_c58a_f947e0752866 --> 828190da_20e9_d3d0_b508_5ec448845532 f1bed2ef_f8ac_de36_9e6b_a73c18620432["beta_plain_text_source_param.py"] 2a38c83e_f997_210b_c58a_f947e0752866 --> f1bed2ef_f8ac_de36_9e6b_a73c18620432 3675e54f_8617_b706_ff90_130206757d65["BetaPlainTextSourceParam"] 2a38c83e_f997_210b_c58a_f947e0752866 --> 3675e54f_8617_b706_ff90_130206757d65 9a7582d2_2322_653d_10db_d11afcd215a3["beta_content_block_source_param.py"] 2a38c83e_f997_210b_c58a_f947e0752866 --> 9a7582d2_2322_653d_10db_d11afcd215a3 15b54925_f0ed_d104_85b8_2f3553e4bb79["BetaContentBlockSourceParam"] 2a38c83e_f997_210b_c58a_f947e0752866 --> 15b54925_f0ed_d104_85b8_2f3553e4bb79 b0812181_61f4_ce1a_24ef_4dd19f5e62eb["beta_file_document_source_param.py"] 2a38c83e_f997_210b_c58a_f947e0752866 --> b0812181_61f4_ce1a_24ef_4dd19f5e62eb cbb678dd_6bb9_25df_a5ab_7392d1942f7a["BetaFileDocumentSourceParam"] 2a38c83e_f997_210b_c58a_f947e0752866 --> cbb678dd_6bb9_25df_a5ab_7392d1942f7a 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a["beta_cache_control_ephemeral_param.py"] 2a38c83e_f997_210b_c58a_f947e0752866 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a f588de01_21b5_50f2_ffbb_cc9a67f33921["BetaCacheControlEphemeralParam"] 2a38c83e_f997_210b_c58a_f947e0752866 --> f588de01_21b5_50f2_ffbb_cc9a67f33921 style 2a38c83e_f997_210b_c58a_f947e0752866 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, Optional
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from .beta_url_pdf_source_param import BetaURLPDFSourceParam
from .beta_citations_config_param import BetaCitationsConfigParam
from .beta_base64_pdf_source_param import BetaBase64PDFSourceParam
from .beta_plain_text_source_param import BetaPlainTextSourceParam
from .beta_content_block_source_param import BetaContentBlockSourceParam
from .beta_file_document_source_param import BetaFileDocumentSourceParam
from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
__all__ = ["BetaRequestDocumentBlockParam", "Source"]
Source: TypeAlias = Union[
BetaBase64PDFSourceParam,
BetaPlainTextSourceParam,
BetaContentBlockSourceParam,
BetaURLPDFSourceParam,
BetaFileDocumentSourceParam,
]
class BetaRequestDocumentBlockParam(TypedDict, total=False):
source: Required[Source]
type: Required[Literal["document"]]
cache_control: Optional[BetaCacheControlEphemeralParam]
"""Create a cache control breakpoint at this content block."""
citations: Optional[BetaCitationsConfigParam]
context: Optional[str]
title: Optional[str]
Domain
Classes
Dependencies
- BetaBase64PDFSourceParam
- BetaCacheControlEphemeralParam
- BetaCitationsConfigParam
- BetaContentBlockSourceParam
- BetaFileDocumentSourceParam
- BetaPlainTextSourceParam
- BetaURLPDFSourceParam
- beta_base64_pdf_source_param.py
- beta_cache_control_ephemeral_param.py
- beta_citations_config_param.py
- beta_content_block_source_param.py
- beta_file_document_source_param.py
- beta_plain_text_source_param.py
- beta_url_pdf_source_param.py
- typing
- typing_extensions
Imported By
Source
Frequently Asked Questions
What does beta_request_document_block_param.py do?
beta_request_document_block_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_request_document_block_param.py depend on?
beta_request_document_block_param.py imports 16 module(s): BetaBase64PDFSourceParam, BetaCacheControlEphemeralParam, BetaCitationsConfigParam, BetaContentBlockSourceParam, BetaFileDocumentSourceParam, BetaPlainTextSourceParam, BetaURLPDFSourceParam, beta_base64_pdf_source_param.py, and 8 more.
What files import beta_request_document_block_param.py?
beta_request_document_block_param.py is imported by 5 file(s): __init__.py, beta_base64_pdf_block_param.py, beta_content_block_param.py, beta_tool_result_block_param.py, beta_web_fetch_block_param.py.
Where is beta_request_document_block_param.py in the architecture?
beta_request_document_block_param.py is located at src/anthropic/types/beta/beta_request_document_block_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