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

PR-5069 Refactor locate endpoint #777

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Conversation

reweeden
Copy link
Contributor

The /locate endpoint seems to be the last place that had special handling code to interact with the bucket map that was not going through the BucketMap class. This change will ensure that the bucket map behavior is consistent for /locate and other functionality. Specifically, this allows the old-style bucket maps with no top level MAP key to work with /locate (previously a 500 error would be returned).

Copy link
Contributor

@mckadesorensen mckadesorensen left a comment

Choose a reason for hiding this comment

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

Assuming it works, it looks good to me.

@mckadesorensen
Copy link
Contributor

@reweeden It is failing an automatic check.

@reweeden
Copy link
Contributor Author

@reweeden It is failing an automatic check.

It's pyup complaining about a dependency. I'm going to ignore it for 2 reasons:

  1. This PR is not about updating dependencies
  2. The dependency is required to be at that version by chalice

@reweeden reweeden force-pushed the rew/pr-5069-refactor-locate branch from 5b67219 to 2c94fd0 Compare December 20, 2023 22:07
@reweeden reweeden merged commit 67ae383 into devel Dec 20, 2023
9 of 10 checks passed
@reweeden reweeden deleted the rew/pr-5069-refactor-locate branch December 20, 2023 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants