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

[ImageOCR] added skip_corrupted arg #31705

Merged
merged 2 commits into from Dec 24, 2023
Merged

[ImageOCR] added skip_corrupted arg #31705

merged 2 commits into from Dec 24, 2023

Conversation

dantavori
Copy link
Contributor

Contributing to Cortex XSOAR Content

Make sure to register your contribution by filling the contribution registration form

The Pull Request will be reviewed only after the contribution registration form is filled.

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: https://jira-dc.paloaltonetworks.com/browse/XSUP-31355

Description

Added the skip_corrupted argument to the image-ocr-extract-text command.

skip_corrupted=false
image

skip_corrupted=true
image
image

Must have

  • Tests
  • Documentation

Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
Packs/ImageOCR/Integrations/ImageOCR
   ImageOCR.py74790%13, 16, 48, 81–82, 107, 114
TOTAL74790% 

Tests Skipped Failures Errors Time
13 0 💤 0 ❌ 0 🔥 2m 4s ⏱️

Copy link
Contributor

@ShahafBenYakir ShahafBenYakir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noice

@dantavori dantavori merged commit c16e782 into master Dec 24, 2023
22 of 23 checks passed
@dantavori dantavori deleted the XSUP-31355 branch December 24, 2023 21:30
maimorag pushed a commit that referenced this pull request Dec 25, 2023
* added skip_corrupted arg

* try with a different file
maimorag pushed a commit that referenced this pull request Dec 28, 2023
* added skip_corrupted arg

* try with a different file
maimorag pushed a commit that referenced this pull request Dec 31, 2023
* added skip_corrupted arg

* try with a different file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants