SIGN IN SIGN UP

refactor: use DeprecationWarning instead of logger.warning (#687)

## Summary

- Replace `logger.warning()` with `warnings.warn(DeprecationWarning)`
for deprecated params in `batch_add_requests()` (both sync and async) to
match the pattern used in `DatasetClient.download_items()`
- `DeprecationWarning` is the Python standard — visible by default,
caught by `pytest -W error::DeprecationWarning`, and filterable via
`warnings.filterwarnings()`
- Remove unused `logging` import

---

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
V
Vlada Dusek committed
8f319d153624b56dd98f99ade5fb91dba71a497d
Parent: 324f2e9
Committed by GitHub <noreply@github.com> on 3/30/2026, 9:03:03 AM