You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5dc3d34
Browse filesBrowse the repository at this point in the historyBrowse files
feat(ledger): list_industries, the industry classification an entity chooses from (#311)
## Summary
Adds `LedgerClient.list_industries(graph_id)`: the industry
classification an entity's `industry` is chosen from (`id`, `parent_id`,
`level`, `label`, `path`, `carried`, `replaced_by`), parents before
children. Regenerated from the API for the changed `industry`
descriptions, with the GraphQL schema snapshot refreshed.
The Python twin of RoboFinSystems/robosystems-typescript-client#332.
## Waits on the server
The `industries` GraphQL field ships in RoboFinSystems/robosystems#2124.
Until the robosystems release that carries it is deployed,
`list_industries` fails against production with an unknown-field error.
Nothing else in this release depends on it.
## Contract
- Additive: one facade method. A client minor. Nothing in the
integration template's emit path is touched.
- To name in the release notes: with that server release,
`create_entity` and `update_entity` refuse a free-text `industry` (422,
naming the closest ids) where they accepted it before; pass a node id
from `list_industries`. `update_entity(graph_id, {"industry": None})`
now clears the field. No shape changes.
## Testing
`just test-all`: 757 passed, lint, format and typecheck clean. The
schema drift gate regenerates clean. Generated against a local API
running the server branch.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
0 commit comments