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
feat: add include_row_data parameter to Excel search
Add include_row_data parameter to search_cells method to retrieve
entire row data for each match in a single call, avoiding N+1 reads.
Changes:
- Add include_row_data parameter to search_cells method
- Update _scan_sheet to collect and attach row data when enabled
- Add _get_row_data helper method to extract non-null cells from a row
- Handle RuntimeError by collecting matches before accessing sheet rows
- Support both fast path (_cells) and fallback path (iter_rows)
Behavior:
- Default: False (backward compatible)
- Row data includes only non-null cells
- Same-row multiple matches get independent row_data (duplicated)
- Single-column sheets handled correctly
Related: #55
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments