mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
The README states the size of the client it actually is
It opened with "2,479 operations over 1,814 paths, grouped into 192 services". The document serves 2,259 over 1,620 in 117 — every number wrong, in the first paragraph a developer reads. They were true once and the document moved. The count is now stamped by the generator from the spec each build was cut from, inside a `<!--counts-->` span, so it cannot drift again. Any derived figures beside it were re-measured against the same document rather than carried over.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Hanzo Python SDK
|
||||
|
||||
`hanzoai` is the Python client for the Hanzo API, generated from the API's own
|
||||
OpenAPI document — 1814 paths, 2479 operations, 192 API classes over 2460 models.
|
||||
OpenAPI document — <!--counts-->2,259 operations over 1,620 paths, grouped into 117 services<!--/counts-->.
|
||||
Every `/v1` route is in it, and the names it exposes are the document's operation
|
||||
ids rather than a hand-picked subset. [`.spec-lock`](.spec-lock) names the commit
|
||||
and sha256 of the document this tree was cut from.
|
||||
@@ -117,8 +117,8 @@ inside a generated client is the drift these SDKs exist to prevent. It comes bac
|
||||
the day the document describes the body.
|
||||
|
||||
The same gap shows up in `money`, which reads its two payloads through the
|
||||
generated `*_without_preload_content` variant: of 2479 operations, 716 declare no
|
||||
`responses` and another 118 declare no response content, so 834 of them model no
|
||||
generated `*_without_preload_content` variant: of 2,259 operations, 719 declare no
|
||||
`responses` and another 117 declare no response content, so 836 of them model no
|
||||
body to deserialize. Those become ordinary typed calls when the schemas land, and
|
||||
nothing else about them changes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user