feat(ledger): tavi report download format - #209
Merged
Conversation
Refreshed the GraphQL schema snapshot and regenerated the typed models against robosystems#1361: `ReportDownloadFormat` gains `TAVI`, the Project Tavi compiled model. `download_report_bundle` accepts `format="tavi"` (alias to `TAVI`) and names the file `.tavi.json` when the response carries no content-disposition. Claude-Session: https://claude.ai/code/session_01TBKj1VsfBpKsFY7PPcrCFu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refreshed against the robosystems branch that adds the Project Tavi compiled model as a report download flavor (RoboFinSystems/robosystems#1361).
ReportDownloadFormatgainsTAVI;download_report_bundle(graph_id, report_id, format="tavi")presigns and pulls theg{n}.tavi.jsonartifact.Changes
robosystems_client/graphql/schema.graphql,graphql/generated/enums.py—just refresh-schema+just generate-graphqlagainst the local stack on that branch:TAVIon the enum, plus the updatedomittedContentdescription (the only schema changes).robosystems_client/clients/ledger_client.py—"tavi"alias in_DOWNLOAD_FORMAT_ALIASES,tavi.jsonin the fallback-filename table, docstring lists all four flavors.tests/test_ledger_client.py— the alias maps toTAVIand the fallback filename is{report}-g{n}.tavi.json.Compatibility
Additive, generated tier — a client minor. The facade signature is unchanged; the drift gate (
schema.graphql+ hermetic regen) is clean.Testing
just test-allgreen: 587 passed, 17 skipped; format, lint, typecheck clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01TBKj1VsfBpKsFY7PPcrCFu