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 #82 creating a new datastore entity with a name is a pain by bryanyang0528 · Pull Request #409 · googleapis/google-cloud-python

Conversation

@bryanyang0528

@bryanyang0528 bryanyang0528 commented Dec 7, 2014

Copy link
Copy Markdown
Contributor

now can create a entity by put a PATH like:
entity= dataset.entity(['Person', 'jim'])

or put a Key:
key = Key.from_path(['Person', 'jim'])
entity= dataset.entity(key)
#82

Sorry, something went wrong.

Uh oh!

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

All reactions
bryanyang0528 added 3 commits December 2, 2014 09:42
@bryanyang0528
fix issue
fed4a0c
@bryanyang0528
fix issue #82
7b8b681
@bryanyang0528
add test
9b1e0b3
@tseaver

tseaver commented Dec 8, 2014

Copy link
Copy Markdown
Contributor

This kind of "one size fits all" argument handling feels like a step in the wrong direction, in terms of the understandability of the API.

See also #336, where some issues like this show up.

All reactions

Sorry, something went wrong.

Uh oh!

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

@bryanyang0528

bryanyang0528 commented Dec 9, 2014

Copy link
Copy Markdown
Contributor Author

Thanks for the comment.
like the example in #336
query = dataset.query('Character', ancestor=ANCESTOR_KEY, limit=10, order='appearances')
maybe entity= dataset.entity(Path = ['Person', 'jim']) is better?

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes

dhermes commented Dec 9, 2014

Copy link
Copy Markdown
Contributor

I agree with @tseaver, this convenience makes the API too blurry and IMO makes it worse.

@bryanyang0528 please give a heads up before building out things so we can discuss pros and cons.

All reactions

Sorry, something went wrong.

Uh oh!

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

@bryanyang0528

bryanyang0528 commented Dec 10, 2014

Copy link
Copy Markdown
Contributor Author

got it, thank you

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes

dhermes commented Dec 19, 2014

Copy link
Copy Markdown
Contributor

@bryanyang0528 I'm going to close this out if that's OK. Please re-open if you'd like to discuss.

We've got some things we're discussing in
https://docs.google.com/document/d/1xKw8Tz6lfN5uOcv0my4uUgFSeDoRzwCLho2UGlBpqDU/edit
that will resolve #82 in a simpler way (by re-doing much of the API).

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes dhermes closed this Dec 19, 2014
@bryanyang0528

bryanyang0528 commented Dec 20, 2014

Copy link
Copy Markdown
Contributor Author

ok thanks @dhermes ! I think we need more discussion about new API

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes dhermes added the api: datastore Issues related to the Datastore API. label Dec 31, 2015
atulep pushed a commit that referenced this pull request Apr 3, 2023
@gcf-owl-bot
chore: add prerelease nox session (#409)
8e86e0f
Source-Link: googleapis/synthtool@050953d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:65e656411895bff71cffcae97246966460160028f253c2e45b7a25d805a5b142

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
atulep pushed a commit that referenced this pull request Apr 6, 2023
@gcf-owl-bot
chore: add prerelease nox session (#409)
76047f0
Source-Link: googleapis/synthtool@050953d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:65e656411895bff71cffcae97246966460160028f253c2e45b7a25d805a5b142

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
atulep pushed a commit that referenced this pull request Apr 6, 2023
@gcf-owl-bot
chore: add prerelease nox session (#409)
a6834dd
Source-Link: googleapis/synthtool@050953d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:65e656411895bff71cffcae97246966460160028f253c2e45b7a25d805a5b142

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
atulep pushed a commit that referenced this pull request Apr 18, 2023
@gcf-owl-bot
chore: add prerelease nox session (#409)
2ef2ad8
Source-Link: googleapis/synthtool@050953d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:65e656411895bff71cffcae97246966460160028f253c2e45b7a25d805a5b142

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Jun 4, 2023
@release-please @holtskinner
chore(main): release 2.2.0 (#409)
be4b7b5
* chore(main): release 2.2.0
* Update contstraints-3.7.txt

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Holt Skinner <[email protected]>
parthea pushed a commit that referenced this pull request Jun 4, 2023
@gcf-owl-bot
chore(python): update dependencies in .kokoro/requirements.txt [autoa…
64275d7
…pprove] (#409)

Source-Link: https://togithub.com/googleapis/synthtool/commit/e3a1277ac35fc88c09db1930533e24292b132ced
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:452901c74a22f9b9a3bd02bce780b8e8805c97270d424684bff809ce5be8c2a2
parthea pushed a commit that referenced this pull request Jun 4, 2023
@gcf-owl-bot
docs: Fix formatting of request arg in docstring (#409)
22f690d
* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

* 🦉 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 added a commit that referenced this pull request Jul 6, 2023
@gcf-owl-bot @parthea
fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#409)
90b6112
* fix(deps): Require google-api-core >=1.34.0, >=2.11.0

fix: Drop usage of pkg_resources

fix: Fix timeout default values

docs(samples): Snippetgen should call await on the operation coroutine before calling result

PiperOrigin-RevId: 493260409

Source-Link: googleapis/googleapis@fea4387

Source-Link: googleapis/googleapis-gen@387b734
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzg3YjczNDRjNzUyOWVlNDRiZTg0ZTYxM2IxOWE4MjA1MDhjNjEyYiJ9

* 🦉 Updates from OwlBot post-processor

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

* add gapic_version.py

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Aug 15, 2023
@nicain
chore: Update dialogflow_cx_webhook snippet to match NodeJS (#409)
5a59aa6
* chore: Update dialogflow_cx_webhook snippet to match NodeJS

* Updates noxfile to skip deps install, if empty; otherwise an exception occurs
parthea pushed a commit that referenced this pull request Sep 20, 2023
@release-please
chore(main): release 1.16.1 (#409)
a707619
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
vchudnov-g pushed a commit that referenced this pull request Sep 20, 2023
@renovate-bot
chore(deps): update dependency google-cloud-dialogflow to v2.9.0 (#409)
4040f50
parthea pushed a commit that referenced this pull request Sep 22, 2023
@release-please
chore(main): release 3.8.0 (#409)
7f9872f
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Sep 22, 2023
@release-please
chore(main): release 2.31.0 (#409)
7f7a6aa
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Sep 22, 2023
@gcf-owl-bot
feat: InfoType categories were added to built-in infoTypes (#409)
242ed9e
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 460542545

Source-Link: googleapis/googleapis@898fcea

Source-Link: googleapis/googleapis-gen@e97b0c9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTk3YjBjOTUyN2JiNzE3MmEzZjhmM2JjNDExZGU4MzQ2OGZkNmE3NyJ9

fix(deps): require google-api-core>=1.32.0,>=2.8.0
PiperOrigin-RevId: 459095142

Source-Link: googleapis/googleapis@4f1be99

Source-Link: googleapis/googleapis-gen@ae686d9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWU2ODZkOWNkZTRmYzNlMzZkMGFjMDJlZmI4NjQzYjE1ODkwYzFlZCJ9

feat: add audience parameter
PiperOrigin-RevId: 456827138

Source-Link: googleapis/googleapis@23f1a15

Source-Link: googleapis/googleapis-gen@4075a85
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDA3NWE4NTE0ZjY3NjY5MWVjMTU2Njg4YTViYmYxODNhYTk4OTNjZSJ9
parthea pushed a commit that referenced this pull request Sep 22, 2023
@renovate-bot
chore(deps): update dependency google-cloud-videointelligence to v2.1…
d307c85
…1.0 (#409)
parthea pushed a commit that referenced this pull request Oct 21, 2023
@gcf-owl-bot
build(deps): bump requests to 2.31.0 [autoapprove] (#409)
9fa810d
Source-Link: https://togithub.com/googleapis/synthtool/commit/30bd01b4ab78bf1b2a425816e15b3e7e090993dd
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:9bc5fa3b62b091f60614c08a7fb4fd1d3e1678e326f34dd66ce1eefb5dc3267b
parthea pushed a commit that referenced this pull request Oct 21, 2023
@gcf-owl-bot
fix(deps): require google-api-core>=1.32.0,>=2.8.0 (#409)
eb61c5e
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 459095142

Source-Link: googleapis/googleapis@4f1be99

Source-Link: googleapis/googleapis-gen@ae686d9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWU2ODZkOWNkZTRmYzNlMzZkMGFjMDJlZmI4NjQzYjE1ODkwYzFlZCJ9

feat: add audience parameter
PiperOrigin-RevId: 456827138

Source-Link: googleapis/googleapis@23f1a15

Source-Link: googleapis/googleapis-gen@4075a85
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDA3NWE4NTE0ZjY3NjY5MWVjMTU2Njg4YTViYmYxODNhYTk4OTNjZSJ9
parthea pushed a commit that referenced this pull request Oct 21, 2023
@release-please
chore(main): release 3.8.0 (#412)
0e13079
🤖 I have created a release *beep* *boop*
---


## [3.8.0](googleapis/python-translate@v3.7.4...v3.8.0) (2022-07-14)


### Features

* add audience parameter ([b665051](googleapis/python-translate@b665051))


### Bug Fixes

* **deps:** require google-api-core>=1.32.0,>=2.8.0 ([#409](googleapis/python-translate#409)) ([b665051](googleapis/python-translate@b665051))
* require python 3.7+ ([#411](googleapis/python-translate#411)) ([a0cbe87](googleapis/python-translate@a0cbe87))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
parthea pushed a commit that referenced this pull request Oct 21, 2023
@release-please
chore(main): release 2.8.0 (#409)
a7799a7
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
feat: add repositoryevent to buildtrigger (#409)
278a8fc
* feat: add repositoryevent to buildtrigger

PiperOrigin-RevId: 543799743

Source-Link: googleapis/googleapis@7972185

Source-Link: googleapis/googleapis-gen@137bb03
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTM3YmIwMzcyNTc1YTY2YzNiMWFlNzBhNjE1YzA2NzllZmIxMGI0YyJ9

* 🦉 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 22, 2023
@gcf-owl-bot
chore: add prerelease nox session (#409)
b9f2ee7
Source-Link: googleapis/synthtool@050953d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:65e656411895bff71cffcae97246966460160028f253c2e45b7a25d805a5b142

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea added a commit that referenced this pull request Aug 21, 2025
@renovate-bot @parthea
chore(deps): update all dependencies (#409)
ec1ca17
* chore(deps): update all dependencies

* Remove py36 pins

* add pin for pandas for python 3.7

Co-authored-by: Anthonios Partheniou <[email protected]>
parthea added a commit that referenced this pull request Sep 16, 2025
@renovate-bot @parthea
chore(deps): update all dependencies (#409)
64afc8c
* chore(deps): update all dependencies

* Remove py36 pins

* add pin for pandas for python 3.7

Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@software-dov
Template directories passed to options are turned into absolute paths (…
fd2df04
…#409)
parthea pushed a commit that referenced this pull request Nov 24, 2025
@release-please
chore(main): release 1.2.3 (#409)
c152960
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea added a commit that referenced this pull request Nov 24, 2025
@parthea
docs: add example for __protobuf__ module level attribute (#409)
1fada8c
parthea pushed a commit that referenced this pull request Nov 24, 2025
@AlbertDeFusco
feat: Allow base64 encoded credentials in URI (#410)
e67cbed
Fixes #409 🦕 To enable credential information to be included in the connection URL, for cases where you don't have a credentials file locally on the client, I propose the `credentials_base64` parameter. It requires that the user have encoded their credentials JSON file using a number of techniques like `base64`, or `openssl base64`, or `python -m base64`, or www.base64encode.org.

I have used nox to run unit and system tests for Python 3.6 - 3.9. I'm tracking down a separate issue with my computer for why 3.10 tests did not run.


- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery-sqlalchemy/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)
parthea pushed a commit that referenced this pull request Nov 24, 2025
@renovate-bot
chore(deps): update dependency google-cloud-datastore to v2.13.1 (#409)
74d3983
parthea added a commit that referenced this pull request Nov 24, 2025
@gcf-owl-bot @parthea
chore: Update gapic-generator-python to v1.8.2 (#409)
1e6fdb3
* chore: Update gapic-generator-python to v1.8.2

PiperOrigin-RevId: 504289125

Source-Link: googleapis/googleapis@38a48a4

Source-Link: googleapis/googleapis-gen@b2dc226
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJkYzIyNjYzZGJlNDdhOTcyYzhkOGMyZjhhNGRmMDEzZGFmZGNiYyJ9

* 🦉 Updates from OwlBot post-processor

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

* remove workaround

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Nov 24, 2025
Chris Rossi
fix: use fresh context cache for each transaction (#409)
70ea839
In order to enforce transactional integrity, the context cache can't be shared
across transactions.

Fixes #394 (again)
parthea pushed a commit that referenced this pull request Nov 26, 2025
@release-please @busunkim96
chore: release 1.8.2 (#409)
c63fa24
parthea pushed a commit that referenced this pull request Mar 2, 2026
@plamut
chore: release v2.4.2 (#409)
73d2500
parthea pushed a commit that referenced this pull request Mar 6, 2026
@timgraham
django: fix (i)contains, (i)startswith, and (i)endswith lookups with …
7c9d9f1
…database function crash (#425)

Fixes #409
parthea pushed a commit that referenced this pull request Mar 9, 2026
@olavloite
feat: support float32 (#531)
6fd2b39
* feat: support float32

Adds support for FLOAT32 columns. Applications should use the SQLAlchemy
type REAL to create a FLOAT32 column, as FLOAT is already reserved for
FLOAT64.

Fixes #409

* chore: run code formatter

* fix: remove DOUBLE reference which is SQLAlchemy 2.0-only
parthea pushed a commit that referenced this pull request Mar 9, 2026
@cojenco @tseaver
feat: add getters and setters for encryption_key and kms_key_name (#409)
ab6cd8d
* fix: add getters and setters for attributes encryption_key and kms_key_name

* fix docstring formatting

* revise docstring

Co-authored-by: Tres Seaver <[email protected]>
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.

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

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