GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Properly handling entity meanings in datastore. by dhermes · Pull Request #1241 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Nov 24, 2015

Copy link
Copy Markdown
Contributor

To do this, added entity_to_protobuf method that could be used recursively. Also solves #1206 since recursively serializing nested entities to protobuf was being done incorrectly.

Fixes #1065. Fixes #1206.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dhermes dhermes added the api: datastore Issues related to the Datastore API. label Nov 24, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 24, 2015
@dhermes

dhermes commented Nov 24, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver I think this spells the end of inheriting from dict.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dhermes
dhermes reviewed Nov 24, 2015
View reviewed changes
Comment thread gcloud/datastore/helpers.py

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Dec 1, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver Bump

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

2 similar comments
@dhermes

dhermes commented Dec 9, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver Bump

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Dec 16, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver Bump

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes dhermes mentioned this pull request Dec 17, 2015
Adding GC Rule to Bigtable Column Family class. #1302
Merged
@dhermes
dhermes force-pushed the store-meanings branch from aa7e011 to 20c1aed Compare December 17, 2015 20:22
@dhermes

dhermes commented Dec 17, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver It is now merge-able

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tseaver
tseaver reviewed Dec 18, 2015
View reviewed changes
Comment thread gcloud/datastore/helpers.py Outdated

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes
Properly handling entity meanings in datastore.
5873266
To do this, added entity_to_protobuf method that could be used
recursively. Also solves googleapis#1206 since recursively serializing
nested entities to protobuf was being done incorrectly.

Fixes googleapis#1065. Fixes googleapis#1206.
@dhermes
dhermes force-pushed the store-meanings branch from 20c1aed to 5873266 Compare December 19, 2015 01:04
@dhermes

dhermes commented Dec 19, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver PTAL, I went with the simpler version of _get_meaning and we should be all set.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Dec 21, 2015

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dhermes added a commit that referenced this pull request Dec 21, 2015
@dhermes
Merge pull request #1241 from dhermes/store-meanings
0870be4
Properly handling entity meanings in datastore.
@dhermes
dhermes merged commit 0870be4 into googleapis:master Dec 21, 2015
@dhermes
dhermes deleted the store-meanings branch December 21, 2015 21:10
@dhermes dhermes mentioned this pull request Dec 22, 2015
Size/length limits for Datastore properties are enforced differently than NDB #1228
Closed
@dhermes dhermes mentioned this pull request Jan 25, 2016
Upgrading version to 0.9.0. #1418
Merged
@dhermes dhermes mentioned this pull request Mar 23, 2016
Different meanings set on values when reading null #1649
Closed
parthea pushed a commit that referenced this pull request Sep 22, 2023
@lukesneeringer @danoscarmike
Do not base64 encode the input content. [(#1241)](GoogleCloudPlatform…
7b4fb62
…/python-docs-samples#1241)

Protobuf handles the base64 encoding for you, and so the content was being base64 encoded twice.
parthea pushed a commit that referenced this pull request Nov 24, 2025
@renovate-bot
chore(deps): update dependency googleapis-common-protos to v1.56.0 (#…
709101d
…1241)
parthea pushed a commit that referenced this pull request Nov 26, 2025
@arithmetic1728
fix: don't retry if error or error_description is not string (#1241)
633a84c
* fix: don't retry if error or error_description is not string

* chore: fix flaky sample test

* chore: update sys test cred
parthea pushed a commit that referenced this pull request Mar 2, 2026
@axyjo
fix: re-export AddToCell for consistency (#1241)
53a41f0
Thank you for opening a Pull Request! Before submitting your PR, there
are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a
[bug/issue](https://github.com/googleapis/python-bigtable/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)

Fixes #1239
parthea pushed a commit that referenced this pull request Mar 2, 2026
@daniel-sanche
chore: librarian release pull request: 20251216T130719Z (#1251)
a1e74dd
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](googleapis/python-bigtable@v2.34.0...v2.35.0)
(2025-12-16)

### Features

* add basic interceptor to client (#1206)
([6561cfac](googleapis/python-bigtable@6561cfac))

* Add encodings for STRUCT and the Timestamp type
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* add PeerInfo proto in Bigtable API
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* Add Type API updates needed to support structured keys in materialized
views
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* support mTLS certificates when available (#1249)
([ca20219c](googleapis/python-bigtable@ca20219c))

### Bug Fixes

* re-export AddToCell for consistency (#1241)
([2a5baf11](googleapis/python-bigtable@2a5baf11))

* async client uses fixed grace period (#1236)
([544db1cd](googleapis/python-bigtable@544db1cd))

* Deprecate credentials_file argument
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* Add ReadRows/SampleRowKeys bindings for materialized views
([72dfdc44](googleapis/python-bigtable@72dfdc44))

* retry cancelled errors (#1235)
([e3fd5d86](googleapis/python-bigtable@e3fd5d86))

</details>
parthea pushed a commit that referenced this pull request Mar 2, 2026
@mukund-ananthu
feat: Open Telemetry Publish Side Support (#1241)
c91e8f4
parthea pushed a commit that referenced this pull request Mar 9, 2026
@release-please
chore(main): release 2.16.0 (#1241)
9c16d2f
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 9, 2026
@odeke-em
feat: add updated span events + trace more methods (#1259)
2f09b59
* observability: add updated span events + traace more methods

This change carves out parts of PR #1241 in smaller pieces to
ease with smaller reviews.
This change adds more span events, updates important spans
to make them more distinct like changing:

"CloudSpanner.ReadWriteTransaction" to more direct and more
pointed spans like:
* CloudSpanner.Transaction.execute_streaming_sql

Also added important spans:
* CloudSpanner.Database.run_in_transaction
* CloudSpanner.Session.run_in_transaction

* all: update review comments + show type for BeginTransaction + remove prints

* Remove requested span event "Using Transaction"

* Move attempts into try block

* Transform Session.run_in_transaction retry exceptions into events

* More comprehensive test for events and attributes for pool.get

* Add test guards against Python3.7 for which OpenTelemetry is unavailable + address test feedback

* Remove span event per mutation in favour of future TODO

Referencing issue #1269, this update removes adding
a span event per mutation, in favour of a future TODO.

* Sort system-test.test_transaction_abort_then_retry_spans spans by create time

* Delint tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: datastore Issues related to the Datastore API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@dhermes @tseaver @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.