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

beta_context_management_config_param.py — anthropic-sdk-python Source File

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

File python AnthropicClient 8 imports 3 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  9df3ccf2_a923_0446_05fe_8e124a743135["beta_context_management_config_param.py"]
  752fb820_b57b_99e7_f85f_469a98bdc698["beta_compact_20260112_edit_param.py"]
  9df3ccf2_a923_0446_05fe_8e124a743135 --> 752fb820_b57b_99e7_f85f_469a98bdc698
  be418495_2b24_0f21_d919_b5e73ff3bbfe["BetaCompact20260112EditParam"]
  9df3ccf2_a923_0446_05fe_8e124a743135 --> be418495_2b24_0f21_d919_b5e73ff3bbfe
  ad49e4c4_fce0_9e07_f1b1_77f88f74aca3["beta_clear_thinking_20251015_edit_param.py"]
  9df3ccf2_a923_0446_05fe_8e124a743135 --> ad49e4c4_fce0_9e07_f1b1_77f88f74aca3
  b1822e2f_44cb_4dd5_0b91_0552c2ad7b58["BetaClearThinking20251015EditParam"]
  9df3ccf2_a923_0446_05fe_8e124a743135 --> b1822e2f_44cb_4dd5_0b91_0552c2ad7b58
  6e0bfe6d_70a1_641c_7a7d_77c23bafc431["beta_clear_tool_uses_20250919_edit_param.py"]
  9df3ccf2_a923_0446_05fe_8e124a743135 --> 6e0bfe6d_70a1_641c_7a7d_77c23bafc431
  d109d16a_fefd_96c4_96a3_40991550cccc["BetaClearToolUses20250919EditParam"]
  9df3ccf2_a923_0446_05fe_8e124a743135 --> d109d16a_fefd_96c4_96a3_40991550cccc
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  9df3ccf2_a923_0446_05fe_8e124a743135 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  9df3ccf2_a923_0446_05fe_8e124a743135 --> 37c05070_ca59_d596_7250_de9d1939227f
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"]
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> 9df3ccf2_a923_0446_05fe_8e124a743135
  579bd2f9_ae1a_5b30_88c4_93179ebb82b6["message_count_tokens_params.py"]
  579bd2f9_ae1a_5b30_88c4_93179ebb82b6 --> 9df3ccf2_a923_0446_05fe_8e124a743135
  a32dcec6_633c_e7ef_d542_c60e324a317e["message_create_params.py"]
  a32dcec6_633c_e7ef_d542_c60e324a317e --> 9df3ccf2_a923_0446_05fe_8e124a743135
  style 9df3ccf2_a923_0446_05fe_8e124a743135 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, Iterable
from typing_extensions import TypeAlias, TypedDict

from .beta_compact_20260112_edit_param import BetaCompact20260112EditParam
from .beta_clear_thinking_20251015_edit_param import BetaClearThinking20251015EditParam
from .beta_clear_tool_uses_20250919_edit_param import BetaClearToolUses20250919EditParam

__all__ = ["BetaContextManagementConfigParam", "Edit"]

Edit: TypeAlias = Union[
    BetaClearToolUses20250919EditParam, BetaClearThinking20251015EditParam, BetaCompact20260112EditParam
]


class BetaContextManagementConfigParam(TypedDict, total=False):
    edits: Iterable[Edit]
    """List of context management edits to apply"""

Frequently Asked Questions

What does beta_context_management_config_param.py do?
beta_context_management_config_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_context_management_config_param.py depend on?
beta_context_management_config_param.py imports 8 module(s): BetaClearThinking20251015EditParam, BetaClearToolUses20250919EditParam, BetaCompact20260112EditParam, beta_clear_thinking_20251015_edit_param.py, beta_clear_tool_uses_20250919_edit_param.py, beta_compact_20260112_edit_param.py, typing, typing_extensions.
What files import beta_context_management_config_param.py?
beta_context_management_config_param.py is imported by 3 file(s): __init__.py, message_count_tokens_params.py, message_create_params.py.
Where is beta_context_management_config_param.py in the architecture?
beta_context_management_config_param.py is located at src/anthropic/types/beta/beta_context_management_config_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