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.set_defaults()` does not error, but `Key` constructor fails · Issue #618 · googleapis/google-cloud-python

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

New issue
Copy link
New issue
Copy link
Closed
Closed
datastore.set_defaults() does not error, but Key constructor fails#618
Copy link
Assignees
dhermes
Labels
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@elibixby
elibixby
opened on Feb 12, 2015
Issue body actions

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

Activity

  1. elibixby
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    fix asap
    on Feb 12, 2015
  2. dhermes commented on Feb 12, 2015

    @dhermes
    dhermes
    on Feb 12, 2015
    Contributor
    More actions

    @elibixby Thanks for filing. #610 covers this.

  3. dhermes
    closed this as completedon Feb 12, 2015
  4. elibixby commented on Feb 12, 2015

    @elibixby
    elibixby
    on Feb 12, 2015
    Author
    More actions

    @dhermes woops, thanks, sorry for the noise.

  5. dhermes commented on Feb 12, 2015

    @dhermes
    dhermes
    on Feb 12, 2015
    Contributor
    More actions

    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.

  6. dhermes
    modified the milestone: This milestone has been deleted on Feb 12, 2015
  7. JustinBeckwith
    assigned
    dhermes
    on Feb 1, 2021
  8. vchudnov-g
    added a commit that references this issue on Sep 20, 2023

    chore: Update gapic-generator-python to v1.8.4 (#618)

    b5bd8de
  9. parthea
    added a commit that references this issue on Aug 21, 2025

    chore: Update gapic-generator-python to v1.11.4 (#618)

    8fd1c73
  10. parthea
    added a commit that references this issue on Sep 16, 2025

    chore: Update gapic-generator-python to v1.11.4 (#618)

    cfc9864
  11. parthea
    added 5 commits that reference this issue on Nov 24, 2025

    fix: modules referenced in MapField message type are properly aliased (…

    This issue will close once commit 6ede787 is merged into the 'main' branch.
    6ede787

    build(deps): bump cryptography from 42.0.0 to 42.0.2 in .kokoro (#618)

    This issue will close once commit 823812e is merged into the 'main' branch.
    823812e

    chore(python): exclude setup.py in renovate config (#618)

    This issue will close once commit 06f1f05 is merged into the 'main' branch.
    06f1f05

    chore(python): exclude setup.py in renovate config (#618)

    This issue will close once commit 36f2775 is merged into the 'main' branch.
    36f2775

    fix: move aiohttp to extra as it is currently internal surface (#619)

    This issue will close once commit e29e7f0 is merged into the 'main' branch.
    e29e7f0
  12. parthea
    added 5 commits that reference this issue on Mar 2, 2026

    chore(deps): update dependency pytest to v7.1.1 (#618)

    0fb3273

    feat: DB API cursors are now iterable (#618)

    1c2f436

    chore: release 2.14.0 (#602)

    74972cd

    chore(deps): update dependency proto-plus to v1.26.1 (#618)

    9dc1807

    chore: release 1.43.0 (#618)

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

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

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

    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.