| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
I am approving, pending:
Sorry, something went wrong.
| row_key = b"bulk_mutate" | ||
| new_value = uuid.uuid4().hex.encode() | ||
| row_key, mutation = self._create_row_and_mutation( | ||
| (row_key, mutation) = self._create_row_and_mutation( |
There was a problem hiding this comment.
#PREFERENCE
Why are we encapsulating all of these values in parens? To the best of my knowledge, this is not required by either PEP 8 or the Google Python Style Guide nor have I heard it referred to as a best practice. I don't see any other examples of this practice anywhere else in this codebase.
Feels unnecessary. I recommend ditching them unless we have a really good reason to add them.
| (row_key, mutation) = self._create_row_and_mutation( | |
| row_key, mutation = self._create_row_and_mutation( |
Sorry, something went wrong.
There was a problem hiding this comment.
This code auto-generated, so this wasn't a conscious choice. Something must have changed in how black is post processing the generated code.
It feels unnecessary to me too, but it doesn't bother me enough to fight with the generation system to change it back
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.7.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209 <details><summary>google-cloud-bigtable: 2.35.0</summary> ## [2.35.0](v2.34.0...v2.35.0) (2025-12-16) ### Features * add basic interceptor to client (#1206) ([6561cfa](6561cfac)) * Add encodings for STRUCT and the Timestamp type ([72dfdc4](72dfdc44)) * add PeerInfo proto in Bigtable API ([72dfdc4](72dfdc44)) * Add Type API updates needed to support structured keys in materialized views ([72dfdc4](72dfdc44)) * support mTLS certificates when available (#1249) ([ca20219](ca20219c)) ### Bug Fixes * re-export AddToCell for consistency (#1241) ([2a5baf1](2a5baf11)) * async client uses fixed grace period (#1236) ([544db1c](544db1cd)) * Deprecate credentials_file argument ([72dfdc4](72dfdc44)) * Add ReadRows/SampleRowKeys bindings for materialized views ([72dfdc4](72dfdc44)) * retry cancelled errors (#1235) ([e3fd5d8](e3fd5d86)) </details>
| Back | FazBrowse Home | New Git URL |
This PR adds a new grpc interceptor to the client, to be used for metrics collection. Currently, the interceptor is a no-op. Interception logic will be added in a future change.