Skip to content

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

@elibixby

Description

@elibixby

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

Metadata

Metadata

Assignees

Labels

type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions