-
Notifications
You must be signed in to change notification settings - Fork 86
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
Supports typing around documents with Mapping
#896
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @geeksambhu
There are a few more places we can make this same update in both index.py
and client.py
where the parameter types are Dict[str, Any]
. I believe the parameter names for these will all be either options
or parameters
but there could be some more I'm not thinking about.
Don't worry about the failed tests, they are all because codecov had an issue uploading and not because of any changes you made. They will pass (or I will get them to pass with a re-run) with the next round of updates. |
@sanders41 I have added |
Anything in any of the files in |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #896 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 13
Lines 748 748
=========================================
Hits 748 748 ☔ View full report in Codecov by Sentry. |
@sanders41, FYI: I updated some function parameters with |
Perfect! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
bors merge |
Pull Request
Related issue
Fixes #888
What does this PR do?
update_documents
withtyping.Mapping
.PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!