FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Avoid copying a limit to query protobuf unless explicitly passed. by tseaver · Pull Request #492 · googleapis/google-cloud-python · GitHub

Avoid copying a limit to query protobuf unless explicitly passed. - #492

Merged
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:491-fix_query_wo_limit
Jan 6, 2015
Merged

Avoid copying a limit to query protobuf unless explicitly passed.#492
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:491-fix_query_wo_limit

Conversation

tseaver commented Jan 6, 2015

Copy link
Copy Markdown
Contributor

Fixes #491.

dhermes commented Jan 6, 2015

Copy link
Copy Markdown
Contributor

LGTM pending Travis

dhermes commented Jan 6, 2015

Copy link
Copy Markdown
Contributor

Feel free to merge

Copy link
Copy Markdown

Coverage remained the same when pulling ec1bb14 on tseaver:491-fix_query_wo_limit into 22c8b19 on GoogleCloudPlatform:master.

tseaver added a commit that referenced this pull request Jan 6, 2015
Avoid copying a limit to query protobuf unless explicitly passed.
tseaver merged commit 9b64977 into googleapis:master Jan 6, 2015
tseaver deleted the 491-fix_query_wo_limit branch January 7, 2015 00:00
dhermes added the api: datastore Issues related to the Datastore API. label Dec 31, 2015
tswast added a commit to tswast/google-cloud-python that referenced this pull request Mar 26, 2019
* Add handwritten model API classes.

These classes provide the top-level classes for the Model API. The
protocol buffer objects are used for all sub-objects.

The pattern for mutable properties follows the same as with Table and
Dataset: a `_properties` dictionary contains the property values in the
REST API format.

* Address review comments in Model.

Use setdefault for labels.
Simplify setter logic for expires.

* Combine error messages for too many and too few parts in model/table ID.
atulep pushed a commit that referenced this pull request Apr 3, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
atulep pushed a commit that referenced this pull request Apr 6, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
atulep pushed a commit that referenced this pull request Apr 6, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
atulep pushed a commit that referenced this pull request Apr 18, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Aug 15, 2023
* chore: fix proto formatting

PiperOrigin-RevId: 503230949

Source-Link: googleapis/googleapis@55dd4d7

Source-Link: googleapis/googleapis-gen@588ff38
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTg4ZmYzOGNmM2EyZGQyMjY0ZGE1YjAzMGQxZjcyZTU2YzdmZmM2NiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
vchudnov-g pushed a commit that referenced this pull request Sep 20, 2023
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea pushed a commit that referenced this pull request Sep 22, 2023
parthea pushed a commit that referenced this pull request Sep 22, 2023
Source-Link: https://togithub.com/googleapis/synthtool/commit/5f2a6089f73abf06238fe4310f6a14d6f6d1eed3
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:8555f0e37e6261408f792bfd6635102d2da5ad73f8f09bcb24f25e6afb5fac97
parthea pushed a commit that referenced this pull request Oct 21, 2023
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472772457

Source-Link: googleapis/googleapis@855b74d

Source-Link: googleapis/googleapis-gen@b64b1e7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjY0YjFlN2RhM2UxMzhmMTVjYTM2MTU1MmVmMDU0NWU1NDg5MWI0ZiJ9
parthea pushed a commit that referenced this pull request Oct 21, 2023
* chore: Update gapic-generator-python to v1.11.2

PiperOrigin-RevId: 546510849

Source-Link: googleapis/googleapis@736073a

Source-Link: googleapis/googleapis-gen@deb64e8
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGViNjRlOGVjMTlkMTQxZTMxMDg5ZmU5MzJiM2E5OTdhZDU0MWM0ZCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Oct 22, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea added a commit that referenced this pull request Sep 18, 2025
…ns (#492)

* fix: correctly transform query job timeout configuration and exceptions

* unit tests for configuration transformations

* add unit tests for timeout

* link todo to relevant issue

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* use correct template for freezegun deps

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* decrease tick time in case multiple time calls are made

* try no tick

* add freezegun to conda deps

* typo

Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>

* typo

Co-authored-by: Anthonios Partheniou <partheniou@google.com>

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea pushed a commit that referenced this pull request Sep 18, 2025
🤖 I have created a release *beep* *boop*
---


### [0.17.4](googleapis/python-bigquery-pandas@v0.17.3...v0.17.4) (2022-03-14)


### Bug Fixes

* avoid deprecated "out-of-band" authentication flow ([#500](googleapis/python-bigquery-pandas#500)) ([4758e3a](googleapis/python-bigquery-pandas@4758e3a))
* correctly transform query job timeout configuration and exceptions ([#492](googleapis/python-bigquery-pandas#492)) ([d8c3900](googleapis/python-bigquery-pandas@d8c3900))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
parthea pushed a commit that referenced this pull request Nov 24, 2025
parthea added a commit that referenced this pull request Nov 24, 2025
* fix: fix 'Couldn't build proto file' when using Python 3.13

* fix: fix 'Couldn't build proto file' when using Python 3.13

* add comment
parthea pushed a commit that referenced this pull request Nov 24, 2025
Source-Link: googleapis/synthtool@50db768
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978
parthea pushed a commit that referenced this pull request Nov 24, 2025
Source-Link: googleapis/synthtool@d52e638
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:4f9b3b106ad0beafc2c8a415e3f62c1a0cc23cabea115dbe841b848f581cfe99

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google-cloud-bigquery](https://togithub.com/googleapis/python-bigquery) | `==2.32.0` -> `==2.34.2` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.34.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.34.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.34.2/compatibility-slim/2.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.34.2/confidence-slim/2.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [google-cloud-pubsub](https://togithub.com/googleapis/python-pubsub) | `==2.9.0` -> `==2.10.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.10.0/compatibility-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.10.0/confidence-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/python-bigquery</summary>

### [`v2.34.2`](https://togithub.com/googleapis/python-bigquery/blob/HEAD/CHANGELOG.md#&#8203;2342-httpsgithubcomgoogleapispython-bigquerycomparev2341v2342-2022-03-05)

[Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.34.1...v2.34.2)

### [`v2.34.1`](https://togithub.com/googleapis/python-bigquery/blob/HEAD/CHANGELOG.md#&#8203;2341-httpsgithubcomgoogleapispython-bigquerycomparev2340v2341-2022-03-02)

[Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.34.0...v2.34.1)

### [`v2.34.0`](https://togithub.com/googleapis/python-bigquery/blob/HEAD/CHANGELOG.md#&#8203;2340-httpsgithubcomgoogleapispython-bigquerycomparev2330v2340-2022-02-18)

[Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.33.0...v2.34.0)

##### Features

-   support BI Engine statistics in query job ([#&#8203;1144](https://togithub.com/googleapis/python-bigquery/issues/1144)) ([7482549](https://togithub.com/googleapis/python-bigquery/commit/7482549cb42ed5302634ab4fb7b4efcd97b35c68))

### [`v2.33.0`](https://togithub.com/googleapis/python-bigquery/blob/HEAD/CHANGELOG.md#&#8203;2330-httpsgithubcomgoogleapispython-bigquerycomparev2320v2330-2022-02-16)

[Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.32.0...v2.33.0)

##### Features

-   add `--no_query_cache` option to `%%bigquery` magics to disable query cache ([#&#8203;1141](https://togithub.com/googleapis/python-bigquery/issues/1141)) ([7dd30af](https://togithub.com/googleapis/python-bigquery/commit/7dd30af41b8a595b96176c964ba14aa41645ef0d))

##### Bug Fixes

-   return 403 when VPC-SC violation happens ([#&#8203;1131](https://togithub.com/googleapis/python-bigquery/issues/1131)) ([f5daa9b](https://togithub.com/googleapis/python-bigquery/commit/f5daa9b41377a58cb3220bb2ab7c72adc6462196))

##### Documentation

-   reference BigQuery REST API defaults in `LoadJobConfig` descrip… ([#&#8203;1132](https://togithub.com/googleapis/python-bigquery/issues/1132)) ([18d9580](https://togithub.com/googleapis/python-bigquery/commit/18d958062721d6be81e7bd7a5bd66f277344a864))
-   show common job properties in `get_job` and `cancel_job` samples ([#&#8203;1137](https://togithub.com/googleapis/python-bigquery/issues/1137)) ([8edc10d](https://togithub.com/googleapis/python-bigquery/commit/8edc10d019bd96defebc4f92a47774901e9b956f))

</details>

<details>
<summary>googleapis/python-pubsub</summary>

### [`v2.10.0`](https://togithub.com/googleapis/python-pubsub/blob/HEAD/CHANGELOG.md#&#8203;2100-httpsgithubcomgoogleapispython-pubsubcomparev290v2100-2022-03-04)

[Compare Source](https://togithub.com/googleapis/python-pubsub/compare/v2.9.0...v2.10.0)

##### Features

-   add api key support ([#&#8203;571](https://togithub.com/googleapis/python-pubsub/issues/571)) ([cdda762](https://togithub.com/googleapis/python-pubsub/commit/cdda762f6d15d96f5e2d7fac975f3494dc49eaa9))
-   add exactly once delivery flag ([#&#8203;577](https://togithub.com/googleapis/python-pubsub/issues/577)) ([d6614e2](https://togithub.com/googleapis/python-pubsub/commit/d6614e274328c58449e67dfc788e2e7986c0c10b))
-   add support for exactly once delivery ([#&#8203;578](https://togithub.com/googleapis/python-pubsub/issues/578)) ([95a86fa](https://togithub.com/googleapis/python-pubsub/commit/95a86fa5f528701b760064f0cece0efa4e60cd44))
-   exactly-once delivery support ([#&#8203;550](https://togithub.com/googleapis/python-pubsub/issues/550)) ([2fb6e15](https://togithub.com/googleapis/python-pubsub/commit/2fb6e1533192ae81dceee5c71283169a0a85a015))

##### Bug Fixes

-   **deps:** move libcst to extras ([#&#8203;585](https://togithub.com/googleapis/python-pubsub/issues/585)) ([0846762](https://togithub.com/googleapis/python-pubsub/commit/084676243ca4afd54cda601e589b80883f9703a3))
-   refactor client classes for safer type checking ([#&#8203;552](https://togithub.com/googleapis/python-pubsub/issues/552)) ([7f705be](https://togithub.com/googleapis/python-pubsub/commit/7f705beb927383f14b9d56f0341ee0de101f7c05))
-   resolve DuplicateCredentialArgs error when using credentials_file ([8ca8cf2](https://togithub.com/googleapis/python-pubsub/commit/8ca8cf27333baf823a1dffd081e63079f1a12625))

##### Samples

-   samples: create subscription with filtering enabled [#&#8203;580](https://togithub.com/googleapis/python-pubsub/pull/580)
-   samples: handle empty response in sync pull samples [#&#8203;586](https://togithub.com/googleapis/python-pubsub/pull/586)
-   samples: sample for receiving messages with exactly-once delivery enabled [#&#8203;588](https://togithub.com/googleapis/python-pubsub/pull/588)
-   samples: create subscription with exactly once delivery [#&#8203;592](https://togithub.com/googleapis/python-pubsub/pull/592)
 [https://github.com/googleapis/python-pubsub/pull/588](https://togithub.com/googleapis/python-pubsub/pull/588)/588

##### Documentation

-   add autogenerated code snippets ([aa3754c](https://togithub.com/googleapis/python-pubsub/commit/aa3754cf432bd02be2734a23a32d5b36cd216aee))
-   Docs have inconsistent default values for max_latency and max_bytes ([#&#8203;572](https://togithub.com/googleapis/python-pubsub/issues/572)) ([d136dfd](https://togithub.com/googleapis/python-pubsub/commit/d136dfdb69ebeebd1411a1415f863b94d07078f0))

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-logging).
parthea pushed a commit that referenced this pull request Nov 25, 2025
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google-cloud-bigquery](https://togithub.com/googleapis/python-bigquery) | `==2.32.0` -> `==2.34.2` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.34.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.34.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.34.2/compatibility-slim/2.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.34.2/confidence-slim/2.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [google-cloud-pubsub](https://togithub.com/googleapis/python-pubsub) | `==2.9.0` -> `==2.10.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.10.0/compatibility-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.10.0/confidence-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/python-bigquery</summary>

### [`v2.34.2`](https://togithub.com/googleapis/python-bigquery/blob/HEAD/CHANGELOG.md#&#8203;2342-httpsgithubcomgoogleapispython-bigquerycomparev2341v2342-2022-03-05)

[Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.34.1...v2.34.2)

### [`v2.34.1`](https://togithub.com/googleapis/python-bigquery/blob/HEAD/CHANGELOG.md#&#8203;2341-httpsgithubcomgoogleapispython-bigquerycomparev2340v2341-2022-03-02)

[Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.34.0...v2.34.1)

### [`v2.34.0`](https://togithub.com/googleapis/python-bigquery/blob/HEAD/CHANGELOG.md#&#8203;2340-httpsgithubcomgoogleapispython-bigquerycomparev2330v2340-2022-02-18)

[Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.33.0...v2.34.0)

##### Features

-   support BI Engine statistics in query job ([#&#8203;1144](https://togithub.com/googleapis/python-bigquery/issues/1144)) ([7482549](https://togithub.com/googleapis/python-bigquery/commit/7482549cb42ed5302634ab4fb7b4efcd97b35c68))

### [`v2.33.0`](https://togithub.com/googleapis/python-bigquery/blob/HEAD/CHANGELOG.md#&#8203;2330-httpsgithubcomgoogleapispython-bigquerycomparev2320v2330-2022-02-16)

[Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.32.0...v2.33.0)

##### Features

-   add `--no_query_cache` option to `%%bigquery` magics to disable query cache ([#&#8203;1141](https://togithub.com/googleapis/python-bigquery/issues/1141)) ([7dd30af](https://togithub.com/googleapis/python-bigquery/commit/7dd30af41b8a595b96176c964ba14aa41645ef0d))

##### Bug Fixes

-   return 403 when VPC-SC violation happens ([#&#8203;1131](https://togithub.com/googleapis/python-bigquery/issues/1131)) ([f5daa9b](https://togithub.com/googleapis/python-bigquery/commit/f5daa9b41377a58cb3220bb2ab7c72adc6462196))

##### Documentation

-   reference BigQuery REST API defaults in `LoadJobConfig` descrip… ([#&#8203;1132](https://togithub.com/googleapis/python-bigquery/issues/1132)) ([18d9580](https://togithub.com/googleapis/python-bigquery/commit/18d958062721d6be81e7bd7a5bd66f277344a864))
-   show common job properties in `get_job` and `cancel_job` samples ([#&#8203;1137](https://togithub.com/googleapis/python-bigquery/issues/1137)) ([8edc10d](https://togithub.com/googleapis/python-bigquery/commit/8edc10d019bd96defebc4f92a47774901e9b956f))

</details>

<details>
<summary>googleapis/python-pubsub</summary>

### [`v2.10.0`](https://togithub.com/googleapis/python-pubsub/blob/HEAD/CHANGELOG.md#&#8203;2100-httpsgithubcomgoogleapispython-pubsubcomparev290v2100-2022-03-04)

[Compare Source](https://togithub.com/googleapis/python-pubsub/compare/v2.9.0...v2.10.0)

##### Features

-   add api key support ([#&#8203;571](https://togithub.com/googleapis/python-pubsub/issues/571)) ([cdda762](https://togithub.com/googleapis/python-pubsub/commit/cdda762f6d15d96f5e2d7fac975f3494dc49eaa9))
-   add exactly once delivery flag ([#&#8203;577](https://togithub.com/googleapis/python-pubsub/issues/577)) ([d6614e2](https://togithub.com/googleapis/python-pubsub/commit/d6614e274328c58449e67dfc788e2e7986c0c10b))
-   add support for exactly once delivery ([#&#8203;578](https://togithub.com/googleapis/python-pubsub/issues/578)) ([95a86fa](https://togithub.com/googleapis/python-pubsub/commit/95a86fa5f528701b760064f0cece0efa4e60cd44))
-   exactly-once delivery support ([#&#8203;550](https://togithub.com/googleapis/python-pubsub/issues/550)) ([2fb6e15](https://togithub.com/googleapis/python-pubsub/commit/2fb6e1533192ae81dceee5c71283169a0a85a015))

##### Bug Fixes

-   **deps:** move libcst to extras ([#&#8203;585](https://togithub.com/googleapis/python-pubsub/issues/585)) ([0846762](https://togithub.com/googleapis/python-pubsub/commit/084676243ca4afd54cda601e589b80883f9703a3))
-   refactor client classes for safer type checking ([#&#8203;552](https://togithub.com/googleapis/python-pubsub/issues/552)) ([7f705be](https://togithub.com/googleapis/python-pubsub/commit/7f705beb927383f14b9d56f0341ee0de101f7c05))
-   resolve DuplicateCredentialArgs error when using credentials_file ([8ca8cf2](https://togithub.com/googleapis/python-pubsub/commit/8ca8cf27333baf823a1dffd081e63079f1a12625))

##### Samples

-   samples: create subscription with filtering enabled [#&#8203;580](https://togithub.com/googleapis/python-pubsub/pull/580)
-   samples: handle empty response in sync pull samples [#&#8203;586](https://togithub.com/googleapis/python-pubsub/pull/586)
-   samples: sample for receiving messages with exactly-once delivery enabled [#&#8203;588](https://togithub.com/googleapis/python-pubsub/pull/588)
-   samples: create subscription with exactly once delivery [#&#8203;592](https://togithub.com/googleapis/python-pubsub/pull/592)
 [https://github.com/googleapis/python-pubsub/pull/588](https://togithub.com/googleapis/python-pubsub/pull/588)/588

##### Documentation

-   add autogenerated code snippets ([aa3754c](https://togithub.com/googleapis/python-pubsub/commit/aa3754cf432bd02be2734a23a32d5b36cd216aee))
-   Docs have inconsistent default values for max_latency and max_bytes ([#&#8203;572](https://togithub.com/googleapis/python-pubsub/issues/572)) ([d136dfd](https://togithub.com/googleapis/python-pubsub/commit/d136dfdb69ebeebd1411a1415f863b94d07078f0))

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-logging).
parthea added a commit that referenced this pull request Mar 2, 2026
This PR also switches the post processor image from `gcr.io/cloud-devrel-public-resources/owlbot-python:latest` to `gcr.io/repo-automation-bots/owlbot-python:latest` as there is a bug in owlbot where it only opens PRs when the post processor image is in the project `repo-automation-bots`. I've bumped the priority of the bug to p1 here: googleapis/repo-automation-bots#1790
parthea pushed a commit that referenced this pull request Mar 2, 2026
…495)

## Summary

Fixes #491. Supersedes #492 (stale).

`urllib3 >= 2.6.0` now passes `max_length` to `decoder.decompress()` and
accesses `decoder.has_unconsumed_tail`. Our custom `_GzipDecoder` and
`_BrotliDecoder` wrappers didn't accept these, causing `TypeError` at
runtime.

This PR:
- Updates `_GzipDecoder.decompress` and `_BrotliDecoder.decompress` to
accept and forward `max_length`, with a `TypeError` fallback for older
urllib3
- Adds `has_unconsumed_tail` property to `_BrotliDecoder` (the proxy
class that needs it explicitly)
- Applies the same fix to the async `_GzipDecoder` in
`google/_async_resumable_media/`
- Adds test coverage for the new `max_length` forwarding, the fallback
path, and `has_unconsumed_tail`

## Feedback from #492 addressed

- **`max_length=-1` default** (chandra-siri) — uses `-1` to match
[urllib3's
default](https://github.com/urllib3/urllib3/blob/bfe8e198a13800e3ee8ef8124a8928acb170c843/src/urllib3/response.py#L55),
not `None`
- **`has_unconsumed_tail` only on `_BrotliDecoder`** (chandra-siri) —
`_GzipDecoder` inherits this from the parent
`urllib3.response.GzipDecoder`, so no override is needed
- **Lint failure** (BrennaEpp) — no trailing whitespace
- **Missing test coverage for fallback paths** (BrennaEpp) — added tests
for `max_length` forwarding, `TypeError` fallback, and
`has_unconsumed_tail` (with `AttributeError` fallback for older urllib3)

## Test plan

- [x] `pytest tests/unit/requests/test_download.py` — all pass
- [x] `pytest tests_async/unit/requests/test_download.py` — all pass
- [x] Full unit suite (514 tests) — all pass
- [x] No lint issues (flake8 clean)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Chalmer Lowe <chalmerlowe@google.com>
parthea pushed a commit that referenced this pull request Mar 9, 2026
* docs: add samples for Spanner-specific features

* docs: more samples

* docs: add more samples

* test: add tests for samples

* chore: fix linting error

* docs: document samples

* docs: link to README
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

Labels

api: datastore Issues related to the Datastore API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query.fetch() w/o limit returns different results than w/ large limit.

3 participants


Back | FazBrowse Home | New Git URL