Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datastore.set_defaults() does not error, but Key constructor fails #618

Closed
elibixby opened this issue Feb 12, 2015 · 3 comments
Closed

datastore.set_defaults() does not error, but Key constructor fails #618

elibixby opened this issue Feb 12, 2015 · 3 comments
Assignees
Labels
type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@elibixby
Copy link

The following code

from gcloud import datastore
datastore.set_defaults()
key = datastore.Key('test',1)

Results in ValueError("A Key must have a dataset ID set")

@elibixby elibixby added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. fix asap labels Feb 12, 2015
@dhermes
Copy link
Contributor

dhermes commented Feb 12, 2015

@elibixby Thanks for filing. #610 covers this.

@dhermes dhermes closed this as completed Feb 12, 2015
@elibixby
Copy link
Author

@dhermes woops, thanks, sorry for the noise.

@dhermes
Copy link
Contributor

dhermes commented Feb 12, 2015

It's not noise. I assume your using 0.4.0 from PyPI rather than pulling from HEAD. Either way #610 has only been merged for like 12 hours.

@dhermes dhermes modified the milestone: Datastore Stable Feb 12, 2015
vchudnov-g pushed a commit that referenced this issue Sep 20, 2023
* chore: Update gapic-generator-python to v1.8.4

PiperOrigin-RevId: 507808936

Source-Link: googleapis/googleapis@64cf849

Source-Link: googleapis/googleapis-gen@53c48ca
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTNjNDhjYWMxNTNkM2IzN2YzZDJjMmRlYzQ4MzBjZmQ5MWVjNDE1MyJ9

* 🦉 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants