Commit 088e037
refactor: address review feedback — public limits property, clean tests
- Drop three tests from test_retry.py that reached into private
attributes of third-party RetryTransport (_sync_transport,
_async_transport); the end-to-end contract is covered by the
pool-size regression test
- Expose a public `limits` property on HttpModelClient so tests and
diagnostic code can assert the pool configuration without walking
private attribute chains across three libraries
- Replace two private-chain pool assertions with a single
`client.limits.max_connections == 600` check against the new property
- Trim "inner" from the transport docstring entry (nabinchha suggestion)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Przemysław <przemekboruta@interia.pl>1 parent e558dd7 commit 088e037
4 files changed
Lines changed: 12 additions & 58 deletions
File tree
- packages/data-designer-engine
- src/data_designer/engine/models/clients
- adapters
- tests/engine/models/clients
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
Lines changed: 6 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
| 299 | + | |
| 300 | + | |
317 | 301 | | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
| 302 | + | |
| 303 | + | |
322 | 304 | | |
323 | 305 | | |
324 | 306 | | |
325 | 307 | | |
326 | 308 | | |
327 | | - | |
| 309 | + | |
328 | 310 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
| 311 | + | |
Lines changed: 0 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
0 commit comments