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 — Entity should not require a Key · Issue #471 · googleapis/google-cloud-python

Entity should not require a Key #471

New issue
Copy link
New issue
Copy link
Closed
Closed
Entity should not require a Key#471
Copy link
Assignees
dhermes
Labels
🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.

Description

@dhermes
dhermes
opened on Dec 29, 2014
Issue body actions

Relates to
https://docs.google.com/document/d/1xKw8Tz6lfN5uOcv0my4uUgFSeDoRzwCLho2UGlBpqDU/edit

From the spec:

An entity must have a key, unless otherwise documented (for example, an entity in
<code>Value.entityValue</code> may have no key). An entity's kind is its key's path's
last element's kind, or null if it has no key.

Though not required, we should be opinionated (in the constructor) about when it's not necessary if possible.

Activity

Next
  1. dhermes
    added
    api: datastoreIssues related to the Datastore API.
    on Dec 29, 2014
  2. tseaver commented on Dec 30, 2014

    @tseaver
    tseaver
    on Dec 30, 2014
    Contributor
    More actions

    I'm not sure we should enable direct creation of an Entity w/o a key: such objects wouldn't be able to satisfy the rest of the contract (save(), etc.). When marshalling a "sub-entity" from value.entityValue, wouldn't it be more natural just to have that property's value be a dict?

  3. dhermes commented on Dec 30, 2014

    @dhermes
    dhermes
    on Dec 30, 2014
    ContributorAuthor
    More actions

    I just filed this based on @Alfus comments. Any thoughts @Alfus?

  4. Alfus commented on Jan 2, 2015

    @Alfus
    Alfus
    on Jan 2, 2015
    More actions

    In an entity value, the key can be present, partial or missing. This lets the value handle dicts (no key) and entities (with partial or complete keys).

  5. dhermes commented on Jan 15, 2015

    @dhermes
    dhermes
    on Jan 15, 2015
    ContributorAuthor
    More actions

    This is not an issue any longer, the Key is not required and failure occurs naturally in methods than need a Key.

  6. dhermes
    closed this as completedon Jan 15, 2015
  7. jgeewax
    modified the milestone: This milestone has been deleted on Jan 30, 2015
  8. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 6, 2020
  9. JustinBeckwith
    assigned
    dhermes
    on Feb 1, 2021
  10. atulep
    added 2 commits that reference this issue on Apr 6, 2023

    chore(deps): update dependency google-cloud-storage to v2.7.0 (#471)

    862a1cd

    chore(deps): update dependency google-cloud-storage to v2.7.0 (#471)

    c37ea05
  11. atulep
    added a commit that references this issue on Apr 18, 2023

    chore(deps): update dependency google-cloud-storage to v2.7.0 (#471)

    914a18e
  12. parthea
    added a commit that references this issue on Jun 4, 2023

    chore(main): release 2.14.0 (#471)

    5903177
  13. 1 remaining item

  14. parthea
    added 2 commits that reference this issue on Sep 22, 2023

    chore(main): release 3.11.2 (#471)

    b5ca5ee

    chore(deps): update dependency google-cloud-dlp to v3.10.1 (#471)

    71b1d19
  15. parthea
    added 6 commits that reference this issue on Oct 21, 2023

    chore(deps): update dependency google-cloud-pubsub to v2.13.6 (#471)

    280ada5

    chore(main): release 2.11.0 (#471)

    7445872

    chore: add release please config (#471)

    3ef0d0d

    chore(deps): update dependency google-cloud-vision to v3.1.1 (#471)

    69584b8

    build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…

    eb69fc9

    chore(deps): update dependency google-cloud-storage to v2.7.0 (#471)

    9392332
  16. parthea
    added a commit that references this issue on Sep 18, 2025

    chore(python): Noxfile recognizes that tests can live in a folder (#471)

    5250f48
  17. parthea
    added 4 commits that reference this issue on Nov 24, 2025

    fix: ensure correct alter table alter column statement is generated o…

    3f7ce7f

    chore(main): release 2.18.0 (#471)

    195d6e4

    chore: make samples 3.6 check optional (#471)

    20d00ee

    chore: make samples 3.6 check optional (#471)

    a3ae713
  18. parthea
    added 2 commits that reference this issue on Mar 9, 2026

    chore(deps): update dependency nox to v2024 (#471)

    7dff22a

    tests: harden old instance cleanup against NotFound (#471)

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

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

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.