| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Signed-off-by: Alaeddine Abdessalem <alaeddine-13@live.fr>
|
📝 Docs are deployed on https://ft-fix-update-mixin-relax-check--jina-docs.netlify.app 🎉 |
Sorry, something went wrong.
Codecov ReportPatch coverage: 100.00% and project coverage change: +1.39% 🎉 Additional details and impacted files @@ Coverage Diff @@
## main #1755 +/- ##
==========================================
+ Coverage 83.60% 84.99% +1.39%
==========================================
Files 134 134
Lines 8842 8844 +2
==========================================
+ Hits 7392 7517 +125
+ Misses 1450 1327 -123
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 11 files with indirect coverage changes ☔ View full report in Codecov by Sentry. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The current schema check in the UpdateMixin is strict and does not allow updating in cases the schema of both documents are similar but not exactly the same.
For instance, if are dynamically generated schemas but have the same fields and field types, the check will still evaluate to false and it would not be possible to update the documents.
This case happens in Jina's reduce procedure where the schemas are retrieved and generated dynamically.
This PR relaxes the check and allows checking whether the fields of the schemas are similar instead.