Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix KeyError exception in UPCImageImporter #1443

Merged
merged 1 commit into from
Oct 28, 2024
Merged

fix: fix KeyError exception in UPCImageImporter #1443

merged 1 commit into from
Oct 28, 2024

Conversation

raphael0202
Copy link
Collaborator

some products have an empty "images.nutrition" dict we check here that imgid key exists in the image data

fixes #1442

some products have an empty "images.nutrition" dict
we check here that imgid key exists in the image data

fixes #1442
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.74%. Comparing base (e8eed45) to head (c6ccedf).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1443   +/-   ##
=======================================
  Coverage   54.74%   54.74%           
=======================================
  Files          85       85           
  Lines        8635     8635           
=======================================
  Hits         4727     4727           
  Misses       3908     3908           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@raphael0202 raphael0202 merged commit 022a788 into main Oct 28, 2024
10 checks passed
@raphael0202 raphael0202 deleted the fix-1442 branch October 28, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

KeyError: 'imgid'
2 participants