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 — Fix #81 getting a datastore.entity by key or path by bryanyang0528 · Pull Request #393 · googleapis/google-cloud-python

Conversation

@bryanyang0528

@bryanyang0528 bryanyang0528 commented Nov 27, 2014

Copy link
Copy Markdown
Contributor

New can get a datastore.entity by key or path
#81

Sorry, something went wrong.

Uh oh!

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

All reactions
@bryanyang0528
getting a datastore.entity by key or path
2e1b026
@dhermes

dhermes commented Nov 27, 2014

Copy link
Copy Markdown
Contributor

Thanks for doing this! Can you address the lint errors in the Travis link?

Also, have you signed the CLA referenced in CONTRIBUTING.md?

If you'd like, I'd be happy to chat about how to run the tests locally (just running tox from the root of the repo gets most of the way there).

All reactions

Sorry, something went wrong.

Uh oh!

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

@bryanyang0528

bryanyang0528 commented Nov 27, 2014

Copy link
Copy Markdown
Contributor Author

Yes, I can address the lint errors, but not actually understood why errors happened yet. I'll try run tox locally for more detail information. I just ran nosetests and passed it before.

btw, I've signed CLA

All reactions

Sorry, something went wrong.

Uh oh!

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

bryanyang0528 added 2 commits November 27, 2014 16:54
@bryanyang0528
del space
1806341
@bryanyang0528
coding style revised
e47ccc1
@coveralls

coveralls commented Nov 27, 2014

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling e47ccc1 on bryanyang0528:81-getting_a_datastore_entity_by_key into 3b90004 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

dhermes
dhermes reviewed Nov 27, 2014
View reviewed changes
Comment thread gcloud/datastore/dataset.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.

@dhermes

dhermes commented Nov 27, 2014

Copy link
Copy Markdown
Contributor

@silvolu Can you verify the CLA? (No need to do it on a holiday, just eventually.)

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes

dhermes commented Nov 27, 2014

Copy link
Copy Markdown
Contributor

This fix doesn't cover @jgeewax suggestions like

dataset.entity('Person').get('jim')

so I'm not sure we should entirely close #81.

Though I think the discussion should move into a discussion about a port of https://code.google.com/p/appengine-ndb-experiment/

All reactions

Sorry, something went wrong.

Uh oh!

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

@bryanyang0528
add a test for odd list and nonetype
e75899b
@silvolu silvolu added the cla: yes This human has signed the Contributor License Agreement. label Nov 28, 2014
@coveralls

coveralls commented Nov 28, 2014

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling e75899b on bryanyang0528:81-getting_a_datastore_entity_by_key into 3b90004 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes

dhermes commented Nov 28, 2014

Copy link
Copy Markdown
Contributor

LGTM. I'll hold off on merging until @tseaver has a chance to weigh in.

All reactions

Sorry, something went wrong.

Uh oh!

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

tseaver
tseaver reviewed Nov 28, 2014
View reviewed changes
Comment thread gcloud/datastore/test_dataset.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.

@bryanyang0528
del unused code
fd0f674
@coveralls

coveralls commented Nov 29, 2014

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling fd0f674 on bryanyang0528:81-getting_a_datastore_entity_by_key into 3b90004 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver
tseaver merged commit fd0f674 into googleapis:master Dec 3, 2014
@tseaver

tseaver commented Dec 3, 2014

Copy link
Copy Markdown
Contributor

Hmm, looks like a transient failure in regression tests after the merge. Regression tests passed for me just now.

All reactions

Sorry, something went wrong.

Uh oh!

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

@silvolu

silvolu commented Dec 3, 2014

Copy link
Copy Markdown
Contributor

Re-running the build now.

All reactions

Sorry, something went wrong.

Uh oh!

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

@silvolu

silvolu commented Dec 3, 2014

Copy link
Copy Markdown
Contributor

Back to green after #406

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, 2014
Getting a datastore.entity by key name is a pain #81
Closed
parthea pushed a commit that referenced this pull request Jun 4, 2023
@holtskinner
docs(samples): Added extra exception handling to operation samples (#393
57cede1
)
parthea pushed a commit that referenced this pull request Jun 4, 2023
@renovate-bot
chore(deps): update dependency google-cloud-pubsub to v2.13.7 (#393)
0aea777
parthea pushed a commit that referenced this pull request Jun 4, 2023
@renovate-bot
chore(deps): update dependency google-cloud-secret-manager to v2.15.1 (…
dff7ee2
…#393)
parthea pushed a commit that referenced this pull request Jul 6, 2023
@dizcology
chore: release-please updates snippet metadata (#393)
c5f5d12
parthea pushed a commit that referenced this pull request Sep 20, 2023
@gcf-owl-bot
build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…
97559b9
…p/templates/python_library/.kokoro (#393)

Source-Link: https://togithub.com/googleapis/synthtool/commit/bb171351c3946d3c3c32e60f5f18cee8c464ec51
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f62c53736eccb0c4934a3ea9316e0d57696bb49c1a7c86c726e9bb8a2f87dadf
parthea pushed a commit that referenced this pull request Sep 22, 2023
@gcf-owl-bot
chore: use gapic generator python 1.4.1 (#393)
3bdebf1
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 473833416

Source-Link: googleapis/googleapis@565a550

Source-Link: googleapis/googleapis-gen@1ee1a06
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWVlMWEwNmM2ZGUzY2E4Yjg0MzU3MmMxZmRlMDU0OGY4NDIzNjk4OSJ9
parthea pushed a commit that referenced this pull request Sep 22, 2023
@gcf-owl-bot
chore: use gapic-generator-python 1.0.0 (#393)
4a6c2b6
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 451250442

Source-Link: googleapis/googleapis@cca5e81

Source-Link: googleapis/googleapis-gen@0b219da
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGIyMTlkYTE2MWE4YmRjYzNjNmY3YjJlZmNkODIxMDUxODJhMzBjYSJ9
parthea pushed a commit that referenced this pull request Sep 22, 2023
@gcf-owl-bot
chore(python): add support for python 3.11 [autoapprove] (#393)
d71c69d
Source-Link: https://togithub.com/googleapis/synthtool/commit/7197a001ffb6d8ce7b0b9b11c280f0c536c1033a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:c43f1d918bcf817d337aa29ff833439494a158a0831508fda4ec75dc4c0d0320
parthea pushed a commit that referenced this pull request Oct 21, 2023
@gcf-owl-bot
build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…
f555295
…p/templates/python_library/.kokoro (#393)

Source-Link: https://togithub.com/googleapis/synthtool/commit/bb171351c3946d3c3c32e60f5f18cee8c464ec51
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f62c53736eccb0c4934a3ea9316e0d57696bb49c1a7c86c726e9bb8a2f87dadf
parthea pushed a commit that referenced this pull request Oct 21, 2023
@gcf-owl-bot
docs: Minor formatting (#393)
cac5fae
* docs: Minor formatting
chore: Update gapic-generator-python to v1.11.5
build: Update rules_python to 0.24.0

PiperOrigin-RevId: 563436317

Source-Link: googleapis/googleapis@42fd37b

Source-Link: googleapis/googleapis-gen@280264c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9

* 🦉 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 21, 2023
@gcf-owl-bot
build(deps): bump cryptography to 41.0.0 [autoapprove] (#393)
87b46e5
Source-Link: https://togithub.com/googleapis/synthtool/commit/d0f51a0c2a9a6bcca86911eabea9e484baadf64b
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:240b5bcc2bafd450912d2da2be15e62bc6de2cf839823ae4bf94d4f392b451dc
parthea pushed a commit that referenced this pull request Oct 21, 2023
@gcf-owl-bot
fix: delete BatchDeleteUserLinks, DeleteUserLink, `BatchUpdateUse…
16c0d57
…rLinks`, `UpdateUserLink`, `BatchCreateUserLinks`, `CreateUserLink`, `AuditUserLinks`, `ListUserLinks`, `BatchGetUserLinks`, `GetUserLink` from the Admin API v1 alpha as per the anno... (#393)

* fix!: delete `BatchDeleteUserLinks`, `DeleteUserLink`, `BatchUpdateUserLinks`, `UpdateUserLink`, `BatchCreateUserLinks`, `CreateUserLink`, `AuditUserLinks`, `ListUserLinks`, `BatchGetUserLinks`, `GetUserLink` from the Admin API v1 alpha as per the announcement in https://bit.ly/46yBIDt

feat: add `UpdateDataRedactionSettings`, `CreateRollupProperty`, `GetRollupPropertySourceLink`, `ListRollupPropertySourceLinks`, `CreateRollupPropertySourceLink`, `DeleteRollupPropertySourceLink`, `CreateSubproperty`, `CreateSubpropertyEventFilter`, `CreateSubpropertyEventFilter`, `ListSubpropertyEventFilters`, `UpdateSubpropertyEventFilter`, `DeleteSubpropertyEventFilter` methods to the Admin API v1 alpha

feat: add `include_all_users`, `expand_groups` fields to `RunAccessReportRequest`

feat: add `DataRedactionSettings`, `RollupPropertySourceLink`, `SubpropertyEventFilterCondition`, `SubpropertyEventFilterExpression`, `SubpropertyEventFilterExpressionList`, `SubpropertyEventFilterClause`, `SubpropertyEventFilter` types

feat: add the `DATA_REDACTION_SETTINGS` option to the `ChangeHistoryResourceType` enum

feat: add the `data_redaction_settings` field to the `ChangeHistoryResource.resource` oneof field
PiperOrigin-RevId: 574877732

Source-Link: googleapis/googleapis@a3006dd

Source-Link: googleapis/googleapis-gen@4eb740a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGViNzQwYTRjZjIxYzEzZDEzNzM3YjM0ODhmYTRjNzUyZTEzYjc5ZCJ9

* 🦉 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 21, 2023
@gcf-owl-bot
chore: Update gapic-generator-python to v1.11.8 (#393)
030f315
* chore: Update gapic-generator-python to v1.11.7

PiperOrigin-RevId: 573230664

Source-Link: googleapis/googleapis@93beed3

Source-Link: googleapis/googleapis-gen@f4a4eda
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjRhNGVkYWE4MDU3NjM5ZmNmNmFkZjkxNzk4NzIyODBkMWE4ZjY1MSJ9

* 🦉 Updates from OwlBot post-processor

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

* 🦉 Updates from OwlBot post-processor

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

* chore: Update gapic-generator-python to v1.11.8

PiperOrigin-RevId: 574178735

Source-Link: googleapis/googleapis@7307199

Source-Link: googleapis/googleapis-gen@ce3af21
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2UzYWYyMWI3YzU1OWE4N2MyYmVmYzA3NmJlMGUzYWVkYTNhMjZmMCJ9

* 🦉 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 21, 2023
@release-please
chore(main): release 2.7.3 (#393)
139592f
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Oct 21, 2023
@gcf-owl-bot
chore(deps): Update nox in .kokoro/requirements.in [autoapprove] (#393)
33741d2
Source-Link: https://togithub.com/googleapis/synthtool/commit/92006bb3cdc84677aa93c7f5235424ec2b157146
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6
@release-please release-please Bot mentioned this pull request Oct 31, 2023
chore: release main #11913
Merged
parthea pushed a commit that referenced this pull request Sep 18, 2025
@tswast
test: use templated noxfiles (#393)
4a5d8ad
* test: use templated noxfiles

Adjust test configuration to prepare for running on Kokoro.

* enable system tests on Circle CI

* use environment variables for project ID

* add google-cloud-testutils to test deps

* use pip script for circle

* use pandas from constraints

* fix constraints path

* use nox

* add ADC
parthea pushed a commit that referenced this pull request Nov 22, 2025
@tseaver
tests: refactor systests into separate modules w/ pytest fixtures (#393)
122fdea
* tests: break out shared setup / teardown into pytest fixtures

* tests: move instance admin systests into a separate module

* tests: move table admin systests into a separate module

* tests: move data API systests into a separate module

* tests: remove remaining monolith fixtures

Closes #391.

* test: harden flaky 'w_two_clusters' systest against GRPC Unavailable

Ported from PR #385.

Fixes #381.
parthea pushed a commit that referenced this pull request Nov 24, 2025
@arithmetic1728
fix: update dependencies (#393)
b66aaf4
parthea added a commit that referenced this pull request Nov 24, 2025
@parthea
feat: add support for proto.__version__ (#393)
7ea15b3
parthea pushed a commit that referenced this pull request Nov 24, 2025
@gcf-owl-bot
build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /synthtool/g…
7373d49
…cp/templates/python_library/.kokoro (#393)

Source-Link: googleapis/synthtool@b4fe62e
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:3bf87e47c2173d7eed42714589dc4da2c07c3268610f1e47f8e1a30decbfc7f1

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
@renovate-bot
chore(deps): update dependency google-cloud-error-reporting to v1.6.3 (…
22b84c1
…#393)
parthea pushed a commit that referenced this pull request Nov 24, 2025
@gcf-owl-bot
build(python): exit with success status if no samples found (#393)
e96d6ec
Source-Link: googleapis/synthtool@53ea389
Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:e1793a23ae0ee9aafb2e3a53b564a351f74790dbe3c2d75f8fc3b8c43e5c036c
parthea pushed a commit that referenced this pull request Nov 24, 2025
@renovate-bot
chore(deps): update dependency google-cloud-storage to v1.42.1 (#393)
36b5388
parthea pushed a commit that referenced this pull request Nov 24, 2025
@cguardia
build: integrate changes from autosynth PR (#413)
2c7b2c5
refs #393
parthea pushed a commit that referenced this pull request Nov 25, 2025
@renovate-bot
chore(deps): update dependency google-cloud-storage to v1.42.1 (#393)
3305948
parthea pushed a commit that referenced this pull request Nov 26, 2025
@CodingFanSteve @busunkim96
fix: in token endpoint request, do not decode the response data if it…
6fb5434
… is not encoded (#393)

* fix: in token endpoint request, do not decode the response data if it is not encoded

The interface of the underlying transport
'google.auth.transport.Request' that makes the token
request does not guarantee the response is encoded. In Python 3, the
non-encoded strings do not have 'decode' attribute. Blindly decoding all
the response could have the token refresh throw here.
parthea pushed a commit that referenced this pull request Mar 2, 2026
@hannahrogers-google
fix: do not crash if distribution cannot be found when extracting sem…
29f72fc
…ver (#393)

* fix: no longer crash if pubsub distribution cannot be found wqwhen extracting semver

* doc: add context to distribution not found exception
parthea pushed a commit that referenced this pull request Mar 2, 2026
@release-please
chore(main): release 0.15.1-alpha (#393)
5cab8dc
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
@renovate-bot
chore(deps): update dependency google-cloud-testutils to v0.2.1 (#393)
b311c8b
parthea pushed a commit that referenced this pull request Mar 9, 2026
@vchudnov-g
chore: use python3.10 for tests (#393)
88c30bb
* chore: use python3.10 for tests

* Specify python3.10 centrally
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

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.

5 participants

@bryanyang0528 @dhermes @coveralls @tseaver @silvolu
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.