Skip to content

Commit eb32b3f

Browse files
[fern-autoversion] chore: add docstrings and field descriptions to Pydantic models
Enrich dozens of Pydantic model classes across the SDK with class-level docstrings and per-field `description` arguments. No public API surface, method signatures, or runtime behavior has changed — all additions are purely documentation metadata surfaced via `pydantic.Field(description=…)` and class-level docstrings. Key changes: - Add class-level docstrings to models including `Assistant`, `Call`, `BackoffPlan`, `CompliancePlan`, `ConversationNode`, `CampaignPaginatedResponse`, and many more - Add `pydantic.Field(description=…)` to previously bare field declarations (e.g. `method`, `type`, `name`, `customer`, `error`) across tool, credential, and insight DTOs - Update `User-Agent` header value to version placeholder `0.0.0-fern-placeholder` (internal SDK regeneration artifact) 🌿 Generated with Fern
1 parent 115d451 commit eb32b3f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"client_class_name": "Vapi"
1010
},
1111
"originGitCommit": "db37905bc2125b662f5dc42085397e3fe342d279",
12-
"sdkVersion": "0.0.0.dev0"
12+
"sdkVersion": "2.0.1"
1313
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44

55
[tool.poetry]
66
name = "vapi_server_sdk"
7-
version = "0.0.0.dev0"
7+
version = "2.0.1"
88
description = ""
99
readme = "README.md"
1010
authors = []

src/vapi/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def get_headers(self) -> typing.Dict[str, str]:
3232
"X-Fern-Runtime": f"python/{platform.python_version()}",
3333
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
3434
"X-Fern-SDK-Name": "vapi_server_sdk",
35-
"X-Fern-SDK-Version": "0.0.0.dev0",
35+
"X-Fern-SDK-Version": "2.0.1",
3636
**(self.get_custom_headers() or {}),
3737
}
3838
headers["Authorization"] = f"Bearer {self._get_token()}"

0 commit comments

Comments
 (0)