Skip to content

Conversation

@martinnj
Copy link
Contributor

@martinnj martinnj commented Dec 2, 2024

Pull Request

Related issue

Fixes #1044

What does this PR do?

  • Remove deprecated GET in Index.get_documents. This solves the urlparse encoding problem described in the issues.
  • Fix a syntax (Meili API syntax) error in tests/index/test_index_document_meilisearch.py

Request for comments

I introduced the serialize_body variable because it made my life easier when figuring things out. I'm very much open for suggestions on how to handle that case.

@martinnj martinnj changed the title Remove deprecated GET logic in Index.get_documents Support boolean parameters in Index.get_documents Dec 3, 2024
@sanders41 sanders41 added breaking-change The related changes are breaking for the users bug Something isn't working labels Dec 3, 2024
@martinnj martinnj requested a review from sanders41 December 3, 2024 13:10
Copy link
Collaborator

@sanders41 sanders41 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @martinnj!

bors merge

@meili-bors
Copy link
Contributor

meili-bors bot commented Dec 3, 2024

@martinnj martinnj closed this Dec 3, 2024
@meili-bors meili-bors bot merged commit 1038e4d into meilisearch:main Dec 3, 2024
11 checks passed
@martinnj martinnj deleted the martin/issue-1044 branch December 3, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change The related changes are breaking for the users bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

urllib.parse encoding of boolean values are incompatible with Meilisearch API

3 participants