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
Enable per-page telemetry access for paginated get() queries
Extends the fluent .with_response_details() API to support paginated
queries. Each page batch is now wrapped in OperationResult, allowing
telemetry access per page while maintaining backward compatibility.
Changes:
- Add __add__ and __radd__ to OperationResult for batch concatenation
- Modify _get_multiple to yield (batch, metadata) tuples
- Update get() to wrap each page in OperationResult
- Add per-page telemetry printing to walkthrough example
- Add tests for concatenation and per-page telemetry access
Backward compatibility:
- Existing iteration patterns work unchanged via OperationResult delegation
- Batch concatenation (batch1 + batch2) returns raw list as expected
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments