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 — datastore: default to empty dataset · Issue #121 · googleapis/google-cloud-python

datastore: default to empty dataset #121

New issue
Copy link
New issue
Copy link
Closed
#259
Closed
datastore: default to empty dataset#121
#259
Copy link
Assignees
tseaver
Labels
🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.

Description

@pcostell
pcostell
opened on Aug 5, 2014
Issue body actions

When working with datasets, the Datastore backend will normalize any empty datasets to the dataset of the calling application. This should be preferred to prepending "s~" to dataset ids as that is not always a valid operation.

Activity

Next
  1. silvolu
    added this to the This milestone has been deleted milestone on Sep 5, 2014
  2. tseaver commented on Sep 22, 2014

    @tseaver
    tseaver
    on Sep 22, 2014
    Contributor
    More actions

    The 'to_protobuf' method of gcloud.datastore.key.Key jams a 's~' prefix onto the key's dataset_id, if the ID does not already have a 's~' or 'e~' prefix:

    https://github.com/GoogleCloudPlatform/gcloud-python/blob/1f2aaf3606802f4f02eeb30e22e1082ef7f4594e/gcloud/datastore/key.py#L60

    @pcostell Is that the normalization you are thinking of?

  3. pcostell commented on Sep 22, 2014

    @pcostell
    pcostell
    on Sep 22, 2014
    ContributorAuthor
    More actions

    Yes that's the normalization that is not needed. The datastore backend is smart about looking up the correct dataset for the application.

  4. tseaver
    added
    api: datastoreIssues related to the Datastore API.
    on Sep 22, 2014
  5. tseaver
    self-assigned this
    on Oct 17, 2014
  6. tseaver
    closed this as completedin #259on Oct 20, 2014
  7. tseaver
    added a commit that references this issue on Oct 20, 2014

    Merge pull request #259 from tseaver/121-drop_dataset_prefixes_in_keys

    This issue will close once commit 88b0ec7 is merged into the 'main' branch.
    88b0ec7
  8. tseaver commented on Oct 20, 2014

    @tseaver
    tseaver
    on Oct 20, 2014
    Contributor
    More actions

    The fix in #259 is not correct / complete. See:

    • my report on breakage to the demo
    • @pcostell's follow up
  9. tseaver
    reopened this on Oct 20, 2014
  10. tseaver
    added a commit that references this issue on Oct 21, 2014

    Revert "Fix #121: Drop munging of 's~' prefix onto keys."

    This issue will close once commit 374cdf8 is merged into the 'main' branch.
    374cdf8
  11. tseaver
    closed this as completedin 374cdf8on Oct 21, 2014
  12. tseaver
    added a commit that references this issue on Oct 21, 2014

    Merge pull request #274 from GoogleCloudPlatform/revert-259-121-drop_…

    This issue will close once commit 8b97707 is merged into the 'main' branch.
    8b97707
  13. dhermes
    reopened this on Oct 21, 2014
  14. dhermes commented on Oct 21, 2014

    @dhermes
    dhermes
    on Oct 21, 2014
    Contributor
    More actions

    You'd figure GitHub wouldn't auto-close on their own reverts?

  15. tseaver
    closed this as completedin e78193bon Oct 22, 2014
  16. 99 remaining items

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

    chore: update dependency protobuf >= 3.20.2 (#121)

    5d19d0a

    [feat] Add automatic pagination support. (#121)

    84420e6

    chore: release 1.9.1 (#121)

    965e98f

    chore: release 0.6.1 (#121)

    515efc0

    chore: fix kokoro config for samples (#121)

    21ac01a

    feat: add support for Python 3.10 (#121)

    9956659

    feat: asyncio microgen document (#121)

    f97ecd8

    initial version of migration guide (#121)

    3dd3522
  18. parthea
    added 6 commits that reference this issue on Mar 2, 2026

    docs: Add a link to Pub/Sub filtering language public documentation t…

    fea109f

    fix: add empty slots to CommonChecksum (#121)

    9adf24b

    test: drop majyk per-lang-version coverage level (#121)

    11d0e13

    django, dbapi: add adapt_decimalfield_value for Decimal->float

    dfef9ae

    feat: add helper for bucket bound hostname URLs (#137)

    6ed927f

    chore: move Renovate config to .github, turn off dashboard (#121)

    4e69471
  19. ohmayr
    added a commit that references this issue on Mar 31, 2026

    fix: add empty slots to CommonChecksum (#121)

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

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    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.