Skip to content
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

API Search Client max entries bug and standardize property usage #3101

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

jawilson0502
Copy link
Contributor

@jawilson0502 jawilson0502 commented May 30, 2024

IMPORTANT: All Pull Requests should be connected to an issue, if you don't
have an issue, please start by creating an issue and link it to the PR.

Please provide enough information so that others can review your pull request:
Fixes issue: #3100

There is currently a bug in how max_entries is set in the from_manual function, causing the query_filter not to be set properly. I've also standardized a bit more to use the explicitly create properties, as I believe those were intended to be used over the _propertyNames ones.

Checks

  • All tests succeed.
  • Unit tests added.
  • e2e tests added.
  • Documentation updated.

Closing issues
Closes #3100

@jkppr jkppr self-requested a review May 30, 2024 15:13
@jkppr jkppr added API client Code Health Code health improvements labels May 30, 2024
Copy link
Collaborator

@jkppr jkppr left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for fixing the issue.

@jkppr jkppr merged commit d912599 into google:master Jun 6, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API client Code Health Code health improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Address inconsistent property usage in API client search class
2 participants