Skip to content

feat(sdk): regenerate for text-block disclosures (bind-text-block)#140

Merged
jfrench9 merged 1 commit into
mainfrom
feature/text-block-binding
Jul 19, 2026
Merged

feat(sdk): regenerate for text-block disclosures (bind-text-block)#140
jfrench9 merged 1 commit into
mainfrom
feature/text-block-binding

Conversation

@jfrench9

Copy link
Copy Markdown
Member

Summary

Regeneration against the post-M3 API (robosystems #888/#889):

  • New bind-text-block operation module + BindTextBlockRequest/BindTextBlockResponse/envelope models.
  • FactLite / RenderingRowLite gain the non-numeric fields (text_value, fact_type, content_type; value nullable) so text-block disclosure envelopes round-trip.
  • TaxonomyBlockStructureRequest now carries regulatory_disclosure + the concept_arrangement enum — the gap that forced demo callers onto raw HTTP.
  • FactSetLite.factset_type admits 'disclosure'.
  • Hand-written LedgerClient.bind_text_block wrapper (same shape as the taxonomy-block ops).

Testing

just test-all: 439 passed, ruff + format + basedpyright clean.

Regenerated from the v1.6.5+M3 OpenAPI spec: the bind-text-block
operation with its request/response/envelope models, the non-numeric
fact fields on FactLite and RenderingRowLite (text_value, fact_type,
content_type; value now nullable), the 'disclosure' factset_type on
FactSetLite, and the regulatory_disclosure block_type +
concept_arrangement enum on the taxonomy-block structure request —
the field the previous release rejected client-side.

LedgerClient gains a typed bind_text_block wrapper following the
existing taxonomy-block op pattern.
@jfrench9
jfrench9 merged commit 4f5bf93 into main Jul 19, 2026
1 check passed
@jfrench9
jfrench9 deleted the feature/text-block-binding branch July 19, 2026 06:39
jfrench9 added a commit that referenced this pull request Jul 19, 2026
## Summary

Follow-up to #140: the regen updated the generated models but the
hand-written GraphQL query documents never selected the new fields, so
`list_information_blocks` / `get_information_block` / the report-package
read returned narrative disclosure envelopes with
`text_value`/`fact_type`/`content_type` silently absent. Adds the fields
to all three fact selections and `textValue` to the rendering-row
selections.

## Testing

`just test-all`: 439 passed, ruff + format + basedpyright clean.
Verified against the local backend: the policies note now round-trips
its markdown through `list_information_blocks`.
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