Skip to content

Commit ec19543

Browse files
authored
chore(sdk): regenerate against the documented schema (#218)
Picks up robosystems #1455, #1456 and #1457 — every query field and argument now carries a description, the prose is markdown rather than reStructuredText, and GraphQL names are spelled the way the wire answers to them. ## This is a minor, not a patch Mostly documentation, but not entirely. **130 of the 134 modified files change nothing but docstring text**, and `schema.graphql` is byte-identical once descriptions, commas and whitespace are removed — 121 types before and after, none added or removed, 860 → 1274 description markers. Two changes are not documentation, both in the **generated tier**: | Change | Why | | --- | --- | | `api/extensions_graph_ql/` → `api/graph_ql/` | The tag became `GraphQL` in robosystems #1451 (2026-09-19, shipped in v1.13.3). This is the first regen to pick it up — not a consequence of the docs work. | | GraphQL `POST` gained a required `body` | It had none before, so the operation **could not send a query at all**. #1456 gave it a request body, and two models came with it. | Per the two-tier contract the generated tier rides a **client minor** with each removal named in the release notes. Nothing in the **stable tier** moves: the facades, the root exports and the six frozen emit operations are untouched. ## Who breaks Nobody, checked rather than assumed. Nothing imports `api.extensions_graph_ql` — not `ledger_client.py` / `investor_client.py` (they reach GraphQL through `..graphql.client`, not the generated operation), and not `robosystems-integration-template`, `robosystems-demo-integration`, `robosystems-marketing-integration`, `supplyflow-backend` or the `robosystems` repo itself. The repaired `POST` signature is a required argument added to a function that could not previously perform its purpose, which is the dead-surface case: it never functioned, it has no consumer, and nothing that worked before behaves differently now. ## Verification `just test-all`: **591 passed**, 17 skipped, ruff + ruff-format + basedpyright clean. The suite's own collection is what catches a retag, since the facades import the per-operation modules directly. Pairs with RoboFinSystems/robosystems-typescript-client#232 — docs-only there (identical exported symbol set), taking the same version because the two clients are version-locked. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01C3sS2qq4GbycMSSKr6vsf3
2 parents 3cfa738 + 3717af2 commit ec19543

137 files changed

Lines changed: 2183 additions & 1074 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎robosystems_client/api/auth_passkeys/get_passkey_registration_options.py‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ def sync_detailed(
9494
Args:
9595
body (PasskeyRegisterOptionsRequest): Begin enrollment.
9696
97-
Two disjoint lanes: ``mfa_token`` (forced enrollment — the token was minted
97+
Two disjoint lanes: `mfa_token` (forced enrollment — the token was minted
9898
seconds after a password verify, so it is its own freshness proof) or an
9999
authenticated settings-flow enrollment, which must carry a fresh re-auth
100-
proof — ``password``, or a ``reauth``-ceremony ``assertion`` when adding a
100+
proof — `password`, or a `reauth`-ceremony `assertion` when adding a
101101
passkey beside an existing one.
102102
103103
Raises:
@@ -132,10 +132,10 @@ def sync(
132132
Args:
133133
body (PasskeyRegisterOptionsRequest): Begin enrollment.
134134
135-
Two disjoint lanes: ``mfa_token`` (forced enrollment — the token was minted
135+
Two disjoint lanes: `mfa_token` (forced enrollment — the token was minted
136136
seconds after a password verify, so it is its own freshness proof) or an
137137
authenticated settings-flow enrollment, which must carry a fresh re-auth
138-
proof — ``password``, or a ``reauth``-ceremony ``assertion`` when adding a
138+
proof — `password`, or a `reauth`-ceremony `assertion` when adding a
139139
passkey beside an existing one.
140140
141141
Raises:
@@ -165,10 +165,10 @@ async def asyncio_detailed(
165165
Args:
166166
body (PasskeyRegisterOptionsRequest): Begin enrollment.
167167
168-
Two disjoint lanes: ``mfa_token`` (forced enrollment — the token was minted
168+
Two disjoint lanes: `mfa_token` (forced enrollment — the token was minted
169169
seconds after a password verify, so it is its own freshness proof) or an
170170
authenticated settings-flow enrollment, which must carry a fresh re-auth
171-
proof — ``password``, or a ``reauth``-ceremony ``assertion`` when adding a
171+
proof — `password`, or a `reauth`-ceremony `assertion` when adding a
172172
passkey beside an existing one.
173173
174174
Raises:
@@ -201,10 +201,10 @@ async def asyncio(
201201
Args:
202202
body (PasskeyRegisterOptionsRequest): Begin enrollment.
203203
204-
Two disjoint lanes: ``mfa_token`` (forced enrollment — the token was minted
204+
Two disjoint lanes: `mfa_token` (forced enrollment — the token was minted
205205
seconds after a password verify, so it is its own freshness proof) or an
206206
authenticated settings-flow enrollment, which must carry a fresh re-auth
207-
proof — ``password``, or a ``reauth``-ceremony ``assertion`` when adding a
207+
proof — `password`, or a `reauth`-ceremony `assertion` when adding a
208208
passkey beside an existing one.
209209
210210
Raises:

‎robosystems_client/api/content_operations/index_document.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def sync_detailed(
122122
idempotency_key (None | str | Unset):
123123
body (IndexDocumentOp): Body for index-document (corpus content-op).
124124
125-
Create a new document when ``document_id`` is absent; update the named
125+
Create a new document when `document_id` is absent; update the named
126126
document (partial — only supplied fields) when present.
127127
128128
Raises:
@@ -166,7 +166,7 @@ def sync(
166166
idempotency_key (None | str | Unset):
167167
body (IndexDocumentOp): Body for index-document (corpus content-op).
168168
169-
Create a new document when ``document_id`` is absent; update the named
169+
Create a new document when `document_id` is absent; update the named
170170
document (partial — only supplied fields) when present.
171171
172172
Raises:
@@ -205,7 +205,7 @@ async def asyncio_detailed(
205205
idempotency_key (None | str | Unset):
206206
body (IndexDocumentOp): Body for index-document (corpus content-op).
207207
208-
Create a new document when ``document_id`` is absent; update the named
208+
Create a new document when `document_id` is absent; update the named
209209
document (partial — only supplied fields) when present.
210210
211211
Raises:
@@ -247,7 +247,7 @@ async def asyncio(
247247
idempotency_key (None | str | Unset):
248248
body (IndexDocumentOp): Body for index-document (corpus content-op).
249249
250-
Create a new document when ``document_id`` is absent; update the named
250+
Create a new document when `document_id` is absent; update the named
251251
document (partial — only supplied fields) when present.
252252
253253
Raises:

‎robosystems_client/api/content_operations/ingest_file.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def sync_detailed(
124124
body (IngestFileOp): Body for ingest-file (raw→staging content flow).
125125
126126
Marks an uploaded file ready and triggers DuckDB staging. Set
127-
``ingest_to_graph`` to auto-chain graph materialization after staging.
127+
`ingest_to_graph` to auto-chain graph materialization after staging.
128128
129129
Raises:
130130
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -169,7 +169,7 @@ def sync(
169169
body (IngestFileOp): Body for ingest-file (raw→staging content flow).
170170
171171
Marks an uploaded file ready and triggers DuckDB staging. Set
172-
``ingest_to_graph`` to auto-chain graph materialization after staging.
172+
`ingest_to_graph` to auto-chain graph materialization after staging.
173173
174174
Raises:
175175
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -209,7 +209,7 @@ async def asyncio_detailed(
209209
body (IngestFileOp): Body for ingest-file (raw→staging content flow).
210210
211211
Marks an uploaded file ready and triggers DuckDB staging. Set
212-
``ingest_to_graph`` to auto-chain graph materialization after staging.
212+
`ingest_to_graph` to auto-chain graph materialization after staging.
213213
214214
Raises:
215215
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -252,7 +252,7 @@ async def asyncio(
252252
body (IngestFileOp): Body for ingest-file (raw→staging content flow).
253253
254254
Marks an uploaded file ready and triggers DuckDB staging. Set
255-
``ingest_to_graph`` to auto-chain graph materialization after staging.
255+
`ingest_to_graph` to auto-chain graph materialization after staging.
256256
257257
Raises:
258258
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

‎robosystems_client/api/content_operations/update_memory.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def sync_detailed(
123123
body (UpdateMemoryOp): Body for the update-memory operation (partial update of a stored
124124
memory).
125125
126-
Only supplied fields are changed; the memory is re-embedded when ``text``
126+
Only supplied fields are changed; the memory is re-embedded when `text`
127127
changes.
128128
129129
Raises:
@@ -168,7 +168,7 @@ def sync(
168168
body (UpdateMemoryOp): Body for the update-memory operation (partial update of a stored
169169
memory).
170170
171-
Only supplied fields are changed; the memory is re-embedded when ``text``
171+
Only supplied fields are changed; the memory is re-embedded when `text`
172172
changes.
173173
174174
Raises:
@@ -208,7 +208,7 @@ async def asyncio_detailed(
208208
body (UpdateMemoryOp): Body for the update-memory operation (partial update of a stored
209209
memory).
210210
211-
Only supplied fields are changed; the memory is re-embedded when ``text``
211+
Only supplied fields are changed; the memory is re-embedded when `text`
212212
changes.
213213
214214
Raises:
@@ -251,7 +251,7 @@ async def asyncio(
251251
body (UpdateMemoryOp): Body for the update-memory operation (partial update of a stored
252252
memory).
253253
254-
Only supplied fields are changed; the memory is re-embedded when ``text``
254+
Only supplied fields are changed; the memory is re-embedded when `text`
255255
changes.
256256
257257
Raises:

‎robosystems_client/api/extensions_graph_ql/handle_http_post_extensions_graph_id_graphql_post.py‎

Lines changed: 0 additions & 207 deletions
This file was deleted.

0 commit comments

Comments
 (0)