ROB: Catch keyerror to allow duplicate fields#2333
ROB: Catch keyerror to allow duplicate fields#2333pcraciunoiu wants to merge 1 commit intopy-pdf:mainfrom
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