Skip to content

Regenerate for named SQL parameters and operator descriptions - #184

Merged
jfrench9 merged 1 commit into
mainfrom
chore/regenerate-sql-parameters-and-operator-docs
Aug 10, 2026
Merged

Regenerate for named SQL parameters and operator descriptions#184
jfrench9 merged 1 commit into
mainfrom
chore/regenerate-sql-parameters-and-operator-docs

Conversation

@jfrench9

Copy link
Copy Markdown
Member

Routine regeneration against the current main API surface. Three changes came across, one of them a real type widening rather than prose.

What changed

SqlStatementRequest.parameters accepts an object as well as a list. The API-side field is now list[Any] | dict[str, Any] | None, so named placeholders ($param_name) are expressible alongside positional ones (? / $1) — the two forms still cannot be mixed in one statement. Generation added SqlStatementRequestParametersType1 (the object arm) and the union-parsing branches in to_dict / from_dict.

Operator descriptions now name the operators that exist. They advertised financial, research, and rag with fixed per-mode credit prices (quick 5-10, standard 15-25, extended 30-75). What is actually registered is cypher and mapping, and credits are consumed by real token usage, not a per-mode price. The new text also points at GET /v1/graphs/{graph_id}/operator as the live answer, so the docstring cannot drift the same way again.

LiveFinancialStatementRequest.statement_type lists cash_flow_statement among its statement types.

Compatibility

Generated tier, additive: a widened request-field union and a new model export. No removals, no stable-tier change — nothing here is in the facades, the root exports, or the emit-path symbols the integration template imports. Rides a minor; no deprecation cycle and no curated release notes required.

Verification

Each of the three source-side changes was confirmed present at robosystems origin/main, not just on a local feature branch, so the regeneration reflects merged API state.

just test-all green via the pre-commit gate: 526 passed, 17 skipped, ruff clean, 0 basedpyright errors.

Picks up three API-side changes:

- SqlStatementRequest.parameters now accepts an object as well as a
  list, for named placeholders ($param_name) alongside positional ones
  (? / $1). Adds SqlStatementRequestParametersType1.
- Operator descriptions name the operators that are actually
  registered — cypher and mapping — instead of the retired financial /
  research / rag trio and their fixed per-mode credit prices.
- live-financial-statement lists cash_flow_statement among its
  statement types.

Additive to the generated tier: no removals, no stable-tier change.
@jfrench9
jfrench9 merged commit fda9622 into main Aug 10, 2026
1 check passed
@jfrench9
jfrench9 deleted the chore/regenerate-sql-parameters-and-operator-docs branch August 10, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant