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 — Remove datastore.key._dataset_ids_equal and just use string equality check · Issue #821 · googleapis/google-cloud-python

Remove datastore.key._dataset_ids_equal and just use string equality check #821

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove datastore.key._dataset_ids_equal and just use string equality check#821
Copy link
Assignees
dhermes
Labels
api: datastoreIssues related to the Datastore API.priority: p2Moderately-important priority. Fix may not be included in next release.
Milestone
Datastore Future

Description

@dhermes
dhermes
opened on Apr 13, 2015
Issue body actions

See #528 for some history here.

The issue is that requests made using foo instead of s~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 dataset bar to be inserted into dataset foo)

Activity

  1. dhermes
    added
    api: datastoreIssues related to the Datastore API.
    on Apr 13, 2015
  2. dhermes
    added this to the Datastore Future milestone on Apr 13, 2015
  3. lukesneeringer
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Apr 19, 2017
  4. lukesneeringer commented on Aug 11, 2017

    @lukesneeringer
    lukesneeringer
    on Aug 11, 2017
    Contributor
    More actions

    @dhermes Can you advise on this one?

  5. dhermes commented on Aug 11, 2017

    @dhermes
    dhermes
    on Aug 11, 2017
    ContributorAuthor
    More actions

    @tseaver @lukesneeringer This is no longer relevant (I think because of changes made in the latest version of the API)

  6. dhermes
    closed this as completedon Aug 11, 2017
  7. JustinBeckwith
    assigned
    dhermes
    on Feb 1, 2021
  8. parthea
    added a commit that references this issue on Oct 21, 2023

    feat: Update Compute Engine API to revision 20230701 (#421)

    f01d17b
  9. parthea
    added 8 commits that reference this issue on Nov 24, 2025

    chore: add a Code of Conduct (#821)

    2845a20

    fix: Allow BackgroundConsumer To Inform Caller of Fatal Exceptions wi…

    2216237

    feat: SERVER_TIMESTAMP should survive deep copies (#820) (#821)

    3e87b69

    fix: Use warning instead of warn in system tests to avoid Deprecation…

    cc81062

    docs(context): Note that several methods are no longer implemented. (#…

    40d7cd0

    fix: Use warning instead of warn in system tests to avoid Deprecation…

    f8b7a36

    fix: Fix missing space in error message. (#821)

    12d5545

    chore: release 2.0.0 (#829)

    df3eed0
  10. parthea
    added a commit that references this issue on Mar 2, 2026

    chore(deps): update dependency google-cloud-pubsub to v2.13.11 (#821)

    886c6d0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

Labels

api: datastoreIssues related to the Datastore API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

    Milestone

    • Datastore Future

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.