-
Notifications
You must be signed in to change notification settings - Fork 96
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
Updates to snapshot generation script #742
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@@ -74,7 +74,8 @@ def __configure_test_env_from_url(url: str, password: str, schema: str) -> sqlal | |||
|
|||
def __configure_bigquery_env_from_credential_string(password: str, schema: str) -> None: | |||
credential_string = password.replace("'", "") | |||
credentials = json.loads(credential_string) | |||
# `strict=False` required to work with BQ password characters. | |||
credentials = json.loads(credential_string, strict=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, the CI credential string doesn't need this. I can't remember what kind of escaping I did to get it working, though. Must be something to do with the nested JSON. Anyway everything seems fine so 🤷
Description
Fixes a couple of small issues with the snapshot generation script: