Skip to content

fix(crw): skip non-dict data rows from fastCRW - #2008

Open
Bartok9 wants to merge 1 commit into
assafelovic:mainfrom
Bartok9:fix/crw-source-row-guards
Open

fix(crw): skip non-dict data rows from fastCRW#2008
Bartok9 wants to merge 1 commit into
assafelovic:mainfrom
Bartok9:fix/crw-source-row-guards

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

fastCRW data list entries are assumed dicts; non-dict rows crashed result normalization.

Verification

python -m pytest tests/retrievers/test_crw_source_guards.py -q
# 2 passed

Comprehension called .get on every data[] item; non-dict rows crashed the
full search. Require list+dict shape before reading url/markdown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant