Commit 4bcedc1
fix(docs): correct the generated client name and close the pre-release gaps (#792)
The interactive query builder generated Python and Rust snippets naming `ThetaDataDxClient`, a symbol that exists only as the C-ABI opaque handle. The Python and Rust branches now emit the real exports: `from thetadatadx import Client` / `Client(creds, config)` and `use thetadatadx::{Client, ...}` / `Client::connect(&creds, config)`.
The tick schema descriptor and several examples, fixtures, and regression tests carried wire-layout provenance breadcrumbs that ship publicly through the crate `include` list. Every breadcrumb is replaced with neutral wording that keeps the useful layout note. The no-RE-framing gate previously scanned only `src/**/*.rs`; it now also covers the shipped schema descriptors, the GitHub-visible examples and tests, and asserts a planted provenance line in a schema file is caught.
The docs-consistency gate now pins the client identifier the query builder emits, so a future drift back to a non-existent symbol fails the gate rather than shipping green.
The unreleased worker-thread changelog entry documented method names with an `_explicit` suffix that no binding exposes; it now lists the real `setWorkerThreads` / `set_worker_threads` / `thetadatadx_config_set_worker_threads` names. The docs-site mirror stays byte-identical.
`ConfigError` is a real runtime Python exception but was absent from the type stub; it is added as a `ThetaDataError` leaf alongside the other configuration and parameter exceptions.
The unified client's `historical`, `stream`, and `flatFiles` view accessors were enrolled in the cross-binding parity matrix, and the method-parity check gained a reverse-orphan scan so dropping or renaming any of them in one binding fails the gate.
Co-authored-by: Claude <noreply@anthropic.com>1 parent d7374cc commit 4bcedc1
27 files changed
Lines changed: 296 additions & 98 deletions
File tree
- crates/thetadatadx
- examples
- src/tdbe/types/generated
- tests
- fixtures/captures
- docs-site/docs
- .vitepress/theme/components
- scripts
- sdks
- python
- python/thetadatadx
- src/_generated
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
162 | | - | |
| 161 | + | |
163 | 162 | | |
164 | 163 | | |
165 | 164 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| 582 | + | |
| 583 | + | |
582 | 584 | | |
583 | 585 | | |
584 | 586 | | |
| |||
595 | 597 | | |
596 | 598 | | |
597 | 599 | | |
| 600 | + | |
| 601 | + | |
598 | 602 | | |
599 | 603 | | |
600 | 604 | | |
| |||
691 | 695 | | |
692 | 696 | | |
693 | 697 | | |
694 | | - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
695 | 704 | | |
696 | 705 | | |
697 | 706 | | |
| |||
977 | 986 | | |
978 | 987 | | |
979 | 988 | | |
980 | | - | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
981 | 992 | | |
982 | 993 | | |
983 | 994 | | |
| |||
1053 | 1064 | | |
1054 | 1065 | | |
1055 | 1066 | | |
1056 | | - | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1057 | 1071 | | |
1058 | 1072 | | |
1059 | 1073 | | |
| |||
1117 | 1131 | | |
1118 | 1132 | | |
1119 | 1133 | | |
1120 | | - | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
1121 | 1137 | | |
1122 | 1138 | | |
1123 | 1139 | | |
| |||
1191 | 1207 | | |
1192 | 1208 | | |
1193 | 1209 | | |
1194 | | - | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
1195 | 1214 | | |
1196 | 1215 | | |
1197 | 1216 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments