Home / Class/ BetaInputJsonEvent Class — anthropic-sdk-python Architecture

BetaInputJsonEvent Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaInputJsonEvent class in _beta_types.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  bf0f76d1_9437_1c74_6fe8_1c27d7289da9["BetaInputJsonEvent"]
  17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"]
  bf0f76d1_9437_1c74_6fe8_1c27d7289da9 -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1
  6ae52b2b_b80e_bd13_d3c7_f2409e8d863a["_beta_types.py"]
  bf0f76d1_9437_1c74_6fe8_1c27d7289da9 -->|defined in| 6ae52b2b_b80e_bd13_d3c7_f2409e8d863a

Relationship Graph

Source Code

src/anthropic/lib/streaming/_beta_types.py lines 61–75

class BetaInputJsonEvent(BaseModel):
    type: Literal["input_json"]

    partial_json: str
    """A partial JSON string delta

    e.g. `'"San Francisco,'`
    """

    snapshot: object
    """The currently accumulated parsed object.


    e.g. `{'location': 'San Francisco, CA'}`
    """

Extends

Frequently Asked Questions

What is the BetaInputJsonEvent class?
BetaInputJsonEvent is a class in the anthropic-sdk-python codebase, defined in src/anthropic/lib/streaming/_beta_types.py.
Where is BetaInputJsonEvent defined?
BetaInputJsonEvent is defined in src/anthropic/lib/streaming/_beta_types.py at line 61.
What does BetaInputJsonEvent extend?
BetaInputJsonEvent extends BaseModel.

Analyze Your Own Codebase

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

Try Supermodel Free