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

InputJsonEvent Class — anthropic-sdk-python Architecture

Architecture documentation for the InputJsonEvent class in _types.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  3e849f57_0c81_23c3_828c_3c8a5fb0e9f7["InputJsonEvent"]
  17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"]
  3e849f57_0c81_23c3_828c_3c8a5fb0e9f7 -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1
  0fe13bcd_521d_1fdd_3edc_21cd47da8ca0["_types.py"]
  3e849f57_0c81_23c3_828c_3c8a5fb0e9f7 -->|defined in| 0fe13bcd_521d_1fdd_3edc_21cd47da8ca0

Relationship Graph

Source Code

src/anthropic/lib/streaming/_types.py lines 63–77

class InputJsonEvent(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 InputJsonEvent class?
InputJsonEvent is a class in the anthropic-sdk-python codebase, defined in src/anthropic/lib/streaming/_types.py.
Where is InputJsonEvent defined?
InputJsonEvent is defined in src/anthropic/lib/streaming/_types.py at line 63.
What does InputJsonEvent extend?
InputJsonEvent extends BaseModel.

Analyze Your Own Codebase

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

Try Supermodel Free