Skip to content

Conversation

@zebra-f
Copy link
Contributor

@zebra-f zebra-f commented Oct 19, 2023

Pull Request

Related issue

Fixes #867

What does this PR do?

Updates the code sample to demonstrate the correct method call.
Replaces the dictionary usage with the direct usage of the filter argument.

PR checklist

Please check if your PR fulfills the following requirements:

  • [✅] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • [✅] Have you read the contributing guidelines?
  • [✅] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

… with a correct one

The code sample for the `delete_documents` method  has been updated to use the `filter` argument
correctly. The fix ensures that the code sample functions as expected.

Fixes: meilisearch#867
@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (bebff44) 100.00% compared to head (2f54189) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #868   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines          721       721           
=========================================
  Hits           721       721           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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!

@sanders41
Copy link
Collaborator

Bors merge

@sanders41 sanders41 added the skip-changelog The PR will not appear in the release changelogs label Oct 19, 2023
@meili-bors
Copy link
Contributor

meili-bors bot commented Oct 19, 2023

@meili-bors meili-bors bot merged commit 844f540 into meilisearch:main Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog The PR will not appear in the release changelogs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect Method Call in .code-samples.meilisearch

2 participants