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 — Getting a datastore.entity by key name is a pain · Issue #81 · googleapis/google-cloud-python

Getting a datastore.entity by key name is a pain #81

New issue
Copy link
New issue
Copy link
Closed
Closed
Getting a datastore.entity by key name is a pain#81
Copy link
Assignees
dhermes
Labels
api: datastoreIssues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@jgeewax
jgeewax
opened on Apr 21, 2014
Issue body actions

If I know I have a person named Jim, and I want to get Jim, I can't do a look-up by path.

What I'd like to do

dataset.get_entity(['Person', 'jim'])

or

dataset.entity('Person').get('jim')

(or with an ancestor)

dataset.entity('Person').get('jim', parent='parent key name')

What I currently have to do

key = Key.from_path(['Person', 'jim'])
dataset.get_entity(key)

Activity

Next
  1. jgeewax
    added
    enhancement
    on Apr 21, 2014
  2. dhermes commented on Dec 17, 2014

    @dhermes
    dhermes
    on Dec 17, 2014
    Contributor
    More actions

    Closed by #393

  3. dhermes
    closed this as completedon Dec 17, 2014
  4. jgeewax
    modified the milestone: This milestone has been deleted on Jan 30, 2015
  5. urshala
    added a commit that references this issue on Jan 17, 2020

    Merge pull request googleapis#81 from eseiver/receive

    eb2de75
  6. JustinBeckwith
    assigned
    dhermes
    on Feb 1, 2021
  7. vchudnov-g
    added a commit that references this issue on Apr 19, 2023

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

    b373ddc
  8. parthea
    added a commit that references this issue on Apr 20, 2023

    chore: Migrate code from googleapis/python-ids into packages/google-c…

    90d8f68
  9. vchudnov-g
    added 5 commits that reference this issue on May 8, 2023

    chore(python): add license header to auto-label.yaml (#81)

    85222e2

    fix(deps): require proto-plus 1.15.0 (#81)

    1c337c0

    chore: release 0.4.0 (#75)

    e807b4c

    chore(migration): Migrate code from googleapis/python-domains into pa…

    9d913ad

    chore(migration): Migrate code from googleapis/python-iap into packag…

    4a5b434
  10. 103 remaining items

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

    chore: enable snippet-bot (#81)

    a9c0e8b

    fix: address failing tests with pandas 1.5.0 (#82)

    497df99

    chore: revert owlbot main branch templates (#81)

    d3449e6

    refactor: create base transaction class (#81)

    7c5181d

    chore: add api-logging to codeowners (#81)

    afff1df

    Implement timeout across all gRPC calls. (#81)

    17731ce

    Swap target, request for request, target in secure_authorized_channel…

    163b420
  12. parthea
    added 7 commits that reference this issue on Mar 2, 2026

    fix: use correct Python 3.10 specifier (#88)

    This issue will close once commit 842f8c0 is merged into the 'main' branch.
    842f8c0

    dbapi: use sentinel type TimestampStr type to indicate Spanner.TIMESTAMP

    This issue will close once commit 385162d is merged into the 'main' branch.
    385162d

    Merge pull request #81 from orijtech/datetime-as-timestamp

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

    test: generate dynamic db url for test (#81)

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

    refactor(storage): consistent use of optional keyword (#81)

    This issue will close once commit 1bb903b is merged into the 'main' branch.
    1bb903b

    test: fix result ordering errors for emulator (#81)

    This issue will close once commit 9a464e0 is merged into the 'main' branch.
    9a464e0

    chore: release 0.5.0 (#81)

    This issue will close once commit 29da5cf is merged into the 'main' branch.
    29da5cf
  13. ohmayr
    added a commit that references this issue on Mar 31, 2026

    fix: use correct Python 3.10 specifier (#88)

    This issue will close once commit b4fa089 is merged into the 'main' branch.
    b4fa089
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.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

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.