| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
|
Thanks for doing this! |
Sorry, something went wrong.
| for field_name, field in model.__annotations__.items(): | ||
| if field_name not in model.__fields__: | ||
| continue | ||
| field_info = model.__fields__[field_name].field_info |
There was a problem hiding this comment.
FWIW: It might be a good idea to use something like pydash.get here in case traversal breaks at a different location.
Sorry, something went wrong.
Codecov ReportPatch coverage: 100.00% and project coverage change: +0.01% 🎉 Additional details and impacted files @@ Coverage Diff @@
## main #1777 +/- ##
==========================================
+ Coverage 84.99% 85.01% +0.01%
==========================================
Files 134 134
Lines 8845 8847 +2
==========================================
+ Hits 7518 7521 +3
+ Misses 1327 1326 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes ☔ View full report in Codecov by Sentry. |
Sorry, something went wrong.
|
Actually, @NarekA it would be nice if you could open this PR on your own so that we can properly credit the actual contributor. I just did not want to annoy you with it, but since you have already seen this and you are now aware of this need, it may be good to have this. Could you open such a PR? |
Sorry, something went wrong.
|
Opening a new PR now |
Sorry, something went wrong.
|
📝 Docs are deployed on https://ft-fix-skip-annotations-not-in-field--jina-docs.netlify.app 🎉 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Porting fix jina-ai/serve#6035 to docarray