#1071: fix BQ system tests under Py3k by tseaver · Pull Request #1074 · googleapis/google-cloud-python

added 2 commits

August 19, 2015 09:42
Prevents TypeError in 'writerow()' on Py3k.

Fixes #1071.
Avoids blowing up the cleanup code, stranding the bucket.

@tseaver tseaver added type: bug

Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

api: bigquery

Issues related to the BigQuery API.

labels

Aug 19, 2015

@googlebot googlebot added the cla: yes

This human has signed the Contributor License Agreement.

label

Aug 19, 2015

dhermes added a commit that referenced this pull request

Aug 19, 2015
#1071: fix BQ system tests under Py3k

@tseaver tseaver deleted the 1071-bigquery-system_tests_py3k branch

August 19, 2015 14:20

parthea pushed a commit that referenced this pull request

Oct 21, 2023
)](GoogleCloudPlatform/python-docs-samples#1074)

The use of base64 is essentially an implementation detail of the Cloud KMS REST
API: it is required only so that arbitrary binary data can be included in a JSON
string, which only allows Unicode characters. Therefore, the "encrypt" sample
function should decode the base64-encoded ciphertext before writing the
file. Similarly, "decrypt" should not assume that an input file is
base64-encoded, but should perform the base64-encoding itself before sending the
encrypted data to KMS.

This aligns with how the "gcloud kms encrypt" and "gcloud kms decrypt" commands
behave. See https://stackoverflow.com/q/45699472 for an example of user
confusion caused by the mismatch.

gcf-owl-bot bot added a commit that referenced this pull request

Aug 1, 2025

ohmayr pushed a commit that referenced this pull request

Aug 5, 2025
… 20250717 (#1074) (#14169)

- [ ] Regenerate this pull request now.

Source-Link:
googleapis/googleapis@6764f0e

Source-Link:
googleapis/googleapis-gen@6c2b3c1
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjZjMmIzYzFkNTM0YWI2MWIzYWQxMTkwMGU0ZmVhYTc5M2I1NTYyMjMifQ==

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

parthea pushed a commit that referenced this pull request

Aug 6, 2025

parthea pushed a commit that referenced this pull request

Nov 22, 2025
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

parthea pushed a commit that referenced this pull request

Nov 24, 2025
In some cases `hostname:port` format was expected.

parthea pushed a commit that referenced this pull request

Nov 24, 2025
Fixes #1056.

Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>

parthea pushed a commit that referenced this pull request

Nov 24, 2025

parthea pushed a commit that referenced this pull request

Feb 20, 2026

parthea pushed a commit that referenced this pull request

Feb 20, 2026
Removing @googleapis/api-logging, @googleapis/api-logging-partners, and
@googleapis/api-logging-reviewers. Replaced with
@googleapis/yoshi-python.

b/476446922

parthea pushed a commit that referenced this pull request

Mar 2, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

parthea pushed a commit that referenced this pull request

Mar 2, 2026

parthea pushed a commit that referenced this pull request

Mar 9, 2026