Files
python-sdk/pkg
zeekayandHanzo Dev 017ab184b0 regen: one tag per operation, and 21 files a clean generation never makes
hanzoai/openapi beb4ea2 collapses an operation to its primary tag. Seven
commerce/pricing operations were being emitted twice under one identifier —
2381 lines of duplicate methods on CheckoutApi, CloudApi and InfrastructureApi.

The 21 deletions are the more interesting half. Generating over the existing
tree rather than into an empty one left files behind that no current generation
produces, and api/__init__.py had drifted into importing three of them:

  from hanzoai.cloud.api.ai_api import AiApi     # the module defines AIApi

which is an ImportError on "import hanzoai.cloud" — the package did not load at
all. A fresh generation is self-consistent; the accumulated one was not. Same
root cause as js-sdk 2.0.2.

Tests: 6 passed. tests/test_zap_transport.py fails to collect on main too
("cannot import name 'Hanzo' from 'hanzoai'") — unrelated and pre-existing,
verified by stashing this change and re-running.

Spec: hanzoai/openapi f9dbb2b (cloud 8143fc0e).

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 10:50:10 -07:00
..