Remove datastore.key._dataset_ids_equal and just use string equality check #821
Labels
api: datastore
Issues related to the Datastore API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
Milestone
See #528 for some history here.
The issue is that requests made using
foo
instead ofs~foo
fail in strange ways.So as a result we have to use
datastore.helpers._prepare_key_for_request
to strip dataset IDs from keys that get sent to the server. This has accidental caused bugs in the past (e.g. allowing keys from a different datasetbar
to be inserted into datasetfoo
)The text was updated successfully, but these errors were encountered: