Commit c21d3ab
refactor!: drop num_processes and num_threads kwargs
Both were deprecated in the previous commit ('refactor: add
num_workers/use_threads to process_single_position'), with shims that
forwarded their values to num_workers. Drop the shims now — anything
still passing num_processes / num_threads gets a TypeError pointing at
the right argument name, which is more useful than a silent
DeprecationWarning that callers may never see (Python suppresses
DeprecationWarning raised from package code under the default filter).
Removes the corresponding regression test
(test_process_single_position_legacy_kwargs_deprecated) and the
unused 'warnings' import.
BREAKING CHANGE: callers of process_single_position must use
num_workers (and, optionally, use_threads) instead of num_processes /
num_threads.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent af9b925 commit c21d3ab
2 files changed
Lines changed: 0 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
305 | 304 | | |
306 | 305 | | |
307 | 306 | | |
308 | | - | |
309 | | - | |
310 | 307 | | |
311 | 308 | | |
312 | 309 | | |
| |||
354 | 351 | | |
355 | 352 | | |
356 | 353 | | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | 354 | | |
364 | 355 | | |
365 | 356 | | |
366 | 357 | | |
367 | 358 | | |
368 | 359 | | |
369 | 360 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | 361 | | |
386 | 362 | | |
387 | 363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
828 | | - | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | 828 | | |
855 | 829 | | |
856 | 830 | | |
| |||
0 commit comments