-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ROB: Catch keyerror to allow duplicate fields #2333
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2333 +/- ##
==========================================
- Coverage 94.43% 94.40% -0.03%
==========================================
Files 49 49
Lines 8008 8011 +3
Branches 1616 1616
==========================================
+ Hits 7562 7563 +1
- Misses 276 278 +2
Partials 170 170 ☔ View full report in Codecov by Sentry. |
@stefan6419846 / @pubpub-zz What do you think about this PR? |
Looking at the linked issues, I do not think that completely silencing these errors is the correct approach, while |
@stefan6419846 @pubpub-zz @pcraciunoiu Will this PR merged? I really need this functionality. |
@tagirahmad I am no PDF expert, but as pointed out in #2333 (comment), the approach from this PR does not seem to be the correct/clean solution we are looking for IMHO. |
I agree the solution is just to ignore an error that has a reason, but won't have time to look into the deeper fix anytime soon sadly. |
8d93d4c
to
940601d
Compare
fields could have multiple annotation:display at many places in a document but it is only one field which shall be unique. |
closes py-pdf#2234 closes py-pdf#2512 replaces py-pdf#2333
Closing in favor of #2570. |
Attempt to work around #2234