| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors. Also adding a temporary Blob._client_or_connection method to allow switching from an explicit client to an implicit connection.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors. Also adding a temporary Bucket._client_or_connection method to allow switching from an explicit client to an implicit connection.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
Also updating all code which calls those methods. Towards googleapis#952, removing connection from methods / constructors.
Towards googleapis#952, removing connection from methods / constructors.
|
Hmm, before finishing review here, it feels to me like swapping out the connection=None for client=None is premature: shouldn't we establish a client attribute, so that we can fall back to using it? Otherwise we have to revisit all these methods when we do have the client attribute. |
Sorry, something went wrong.
|
I just wanted to make a bunch of small commits so review was easier for you. I have the client attribute at the ready, it just takes a bit more effort to review (it reaches deep into many parts of the code). |
Sorry, something went wrong.
|
@tseaver Can we push forward on this? I want to wrap up the client stuff and cut a release ASAP. |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
|
@tseaver We've got an LGTM here but a few pending commets. Good to merge? |
Sorry, something went wrong.
Sorry, something went wrong.
Replace optional connection with client in storage methods and functions.
🤖 I have created a release \*beep\* \*boop\* --- ### [0.51.2](https://www.github.com/googleapis/gapic-generator-python/compare/v0.51.1...v0.51.2) (2021-09-13) ### Bug Fixes * add a separate DEFAULT_CLIENT_INFO for rest clients ([#988](https://www.github.com/googleapis/gapic-generator-python/issues/988)) ([22ac400](https://www.github.com/googleapis/gapic-generator-python/commit/22ac40097ab50bb2d3a7f1a2d35d659c391e0927)) * **snippetgen:** use f-strings in print statements ([#975](https://www.github.com/googleapis/gapic-generator-python/issues/975)) ([122e85c](https://www.github.com/googleapis/gapic-generator-python/commit/122e85c37ff6aa0a99f64361397eb3df5495a3b4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.6.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620 <details><summary>pandas-gbq: 0.31.0</summary> ## [0.31.0](googleapis/python-bigquery-pandas@v0.30.0...v0.31.0) (2025-11-17) ### Features * add pandas_gbq.sample (#983) ([ac771c12](googleapis/python-bigquery-pandas@ac771c12)) </details> --------- Co-authored-by: Anthonios Partheniou <partheniou@google.com>
…984) Source-Link: googleapis/synthtool@395d53a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:6c1cbc75c74b8bdd71dada2fa1677e9d6d78a889e9a70ee75b93d1d0543f96e1 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
| Back | FazBrowse Home | New Git URL |
Towards #952.
Did this for all but Bucket.create (since it also requires a project, built for just a client)
Will continue to remove connection from the Bucket and Batch constructors in forthcoming PR.