Skip to content

Conversation

@bryanyang0528
Copy link
Contributor

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

@dhermes
Copy link
Contributor

dhermes commented Nov 27, 2014

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).

@bryanyang0528
Copy link
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

@coveralls
Copy link

Coverage Status

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

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Nov 27, 2014

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

@dhermes
Copy link
Contributor

dhermes commented Nov 27, 2014

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/

@silvolu silvolu added the cla: yes This human has signed the Contributor License Agreement. label Nov 28, 2014
@coveralls
Copy link

Coverage Status

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

@dhermes
Copy link
Contributor

dhermes commented Nov 28, 2014

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

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@coveralls
Copy link

Coverage Status

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

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

tseaver commented Dec 3, 2014

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

@silvolu
Copy link
Contributor

silvolu commented Dec 3, 2014

Re-running the build now.

@silvolu
Copy link
Contributor

silvolu commented Dec 3, 2014

Back to green after #406

parthea pushed a commit that referenced this pull request Sep 20, 2023
…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
- [ ] 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
- [ ] 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
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
…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
* 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
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
…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
* 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
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
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
parthea pushed a commit that referenced this pull request Sep 18, 2025
* 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
* 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
parthea added a commit that referenced this pull request Nov 24, 2025
parthea pushed a commit that referenced this pull request Nov 24, 2025
…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
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
parthea pushed a commit that referenced this pull request Nov 26, 2025
… 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants