Skip to content

feat(ledger): information blocks, mappings, reports and schedules take an entity - #244

Merged
jfrench9 merged 1 commit into
mainfrom
feature/information-block-entity
Oct 9, 2026
Merged

jfrench9 merged 1 commit into
mainfrom
feature/information-block-entity

Conversation

@jfrench9

@jfrench9 jfrench9 commented Oct 9, 2026

Copy link
Copy Markdown
Member

Summary

The Python facade side of RoboFinSystems/robosystems#1752, which scopes information-block reads to one entity of a reporting group. Parity with RoboFinSystems/robosystems-typescript-client#259.

  • get_information_block / list_information_blocks take entity_id; the envelope selects entityId, the entity it read.
  • list_mappings(graph_id, entity_id=...): each mapping carries entity_id (whose chart it maps from), and the argument keeps one entity's.
  • get_mapping_candidates(..., entity_id=...) narrows by that entity's reporting style.
  • create_report(..., entity_id=...) and create_schedule(..., entity_id=...) pass the entity through.
  • schema.graphql refreshed from the local stack running #1752. It also picks up eventBlocks(eventClass), which shipped in v1.16.8 and was missing from the snapshot. Generated REST models pick up CreateScheduleRequest.entity_id, the envelope's entity_id, and the reworded entity defaults.

Additive only → minor. Touches no symbol the integration template imports.

Waits on the server: the documents name entityId arguments and fields that a server serves only once it carries robosystems#1752, so merge and publish this after the robosystems release that includes #1752 is deployed to prod.

Test plan

  • just generate-sdk + just generate-graphql against the local stack
  • just test-all: 671 passed, ruff + format + basedpyright clean
  • New cases: entity forwarded on both block reads, mapping candidates and mappings (with entity_id on the row), create_report wire body, create_schedule payload with and without an entity

🤖 Generated with Claude Code

…e an entity

get_information_block and list_information_blocks take entity_id and the
envelope names the entity it read; list_mappings names whose chart each
mapping maps and takes entity_id; get_mapping_candidates narrows by the
entity's style; create_report and create_schedule pass entity_id through.
@jfrench9
jfrench9 merged commit 690b570 into main Oct 9, 2026
4 checks passed
@jfrench9
jfrench9 deleted the feature/information-block-entity branch October 9, 2026 04:58
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