Update API key requirement for May 12, 2026 Census update and add error for users.#166
Open
peterrrock2 wants to merge 3 commits into
Open
Update API key requirement for May 12, 2026 Census update and add error for users.#166peterrrock2 wants to merge 3 commits into
peterrrock2 wants to merge 3 commits into
Conversation
pedrocamargo
approved these changes
May 15, 2026
|
This looks good. I guess @jcarbaugh would need to merge and make a new release now. |
Contributor
|
@pedrocamargo DataMade fully owns the package now and are the maintainers on PyPI too |
|
A job for @hancush or @derekeder , then? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey! Just adding this here in case it helps. Please let me know if there is a better branch to open this PR against (I didn't see any notes on contributing that specified).
This is a quick patch to a bug flagged in #165. As of today, the US Census Bureau now requires all requests made against its API carry an API key. But when calling
the API key was not always forwarded to requests. This PR adds modifies the
_field_typecache to add in the API key and adds a warning to users that the key is now required.This also patches the
fieldsandtablesrequests and adds a test to make sure that you have passed an API key to the Client.