Skip to content

AddDiffChange

Base classes

Name Children Inherits
_PathChange
aclientp.schema.v2.tool_calls

⋔ Inheritance diagram

graph TD
  95970870691344["tool_calls.AddDiffChange"]
  95970870372992["tool_calls._PathChange"]
  95970870355280["tool_calls._DiffChangeBase"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970870372992 --> 95970870691344
  95970870355280 --> 95970870372992
  95970868359040 --> 95970870355280
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: _PathChange

A file was added.

Source code in src/aclientp/schema/v2/tool_calls.py
class AddDiffChange(_PathChange):
    """A file was added."""

    operation: Literal["add"] = Field(default="add", init=False)

:fa-brands-github: Show source on GitHub