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 — DISCUSSION: Remove Entity.reload() · Issue #490 · googleapis/google-cloud-python

DISCUSSION: Remove Entity.reload() #490

New issue
Copy link
New issue
Copy link
Closed
Closed
DISCUSSION: Remove Entity.reload()#490
Copy link
Assignees
dhermes
Labels
api: datastoreIssues related to the Datastore API.type: questionRequest for information or clarification. Not an issue.

Description

@dhermes
dhermes
opened on Jan 6, 2015
Issue body actions

@jgeewax We never use Entity.reload() within the library and it doesn't seem to be particularly useful and can even be replaced in a one liner:

entity.update(entity.key.get())

What did you have in mind when you implemented it?


To give some more context, we have been discussing / making a case for removing Entity and just using a dict (as in gcloud-node) since most of the logic lives elsewhere. Entity.save() can be moved to gcloud.datastore.__init__ and so reload() is the only remaining blocker.

Activity

Next
  1. dhermes
    added
    api: datastoreIssues related to the Datastore API.
    on Jan 6, 2015
  2. jgeewax commented on Jan 6, 2015

    @jgeewax
    jgeewax
    on Jan 6, 2015
    Contributor
    More actions

    AFAI remember, reload was intended as a shortcut for the code you mentioned. I wanted a quick way to say "I recognize that this data probably changed from when I first grabbed the object."

    I'd be on board for getting rid of the concept of an Entity -- however that "entity.save()" thing is pretty important. What's the plan for that? (Feel free to move this conversation elsewhere if you think this isn't the right place.)

  3. jgeewax
    added
    type: questionRequest for information or clarification. Not an issue.
    on Jan 6, 2015
  4. dhermes commented on Jan 6, 2015

    @dhermes
    dhermes
    on Jan 6, 2015
    ContributorAuthor
    More actions

    Yes we'll be sure to make sure entity.save() is an easily accesible concept if we are to remove Entity.

    I'll cc you on any PRs / discussions we have before Entity is removed. Just wanted to make I wasn't missing anything with Entity.reload().

    Thanks

  5. dhermes
    added 7 commits that reference this issue on Jan 8, 2015

    Removing Key.get() and Entity.reload().

    174c2aa

    Removing Key.get() and Entity.reload().

    29e5b81

    Removing Key.get() and Entity.reload().

    16e9090

    Removing Key.get() and Entity.reload().

    81397ea

    Removing Key.get() and Entity.reload().

    9600c11

    Removing Key.get() and Entity.reload().

    1b152ee

    Removing Key.get() and Entity.reload().

    6d351a5
  6. dhermes commented on Jan 13, 2015

    @dhermes
    dhermes
    on Jan 13, 2015
    ContributorAuthor
    More actions

    Was removed in #517.

  7. dhermes
    closed this as completedon Jan 13, 2015
  8. jgeewax
    modified the milestone: This milestone has been deleted on Jan 30, 2015
  9. 10 remaining items

  10. parthea
    added 2 commits that reference this issue on Oct 21, 2023

    fix: Add async context manager return types (#490)

    c1396ca

    chore(deps): update dependency google-cloud-speech to v2.17.2 (#490)

    e8df7a4
  11. parthea
    added a commit that references this issue on Aug 21, 2025

    feat: allow users to set Apache Avro output format options through av…

    3c596f9
  12. parthea
    added 2 commits that reference this issue on Sep 16, 2025

    feat: allow users to set Apache Avro output format options through av…

    2fa68b7

    chore(main): release 0.17.2 (#490)

    1c1c431
  13. parthea
    added 7 commits that reference this issue on Nov 24, 2025

    fix: add name and version info to fixup script name (#490)

    cc88af4

    chore(deps): update all dependencies (#490)

    218cddc

    chore: Update gapic-generator-python to v1.11.9 (#490)

    ff5dc34

    chore: remove nox uninstall/reinstall from python build.sh template (#…

    a9fa729

    chore(deps): update dependency pytest to v7.0.1 (#490)

    4ae7653

    chore(deps): update dependency pytest to v7.0.1 (#490)

    8932346

    fix: support es256 raw format signature (#490)

    72eef05
  14. parthea
    added 2 commits that reference this issue on Mar 9, 2026

    chore(deps): update dependency opentelemetry-sdk to v1.28.0 (#490)

    cc5c8fe

    fix: populate etag / generation / metageneration properties during do…

    65d497d
  15. parthea
    added a commit that references this issue on Sep 8, 2026

    docs: migrate code from googleapis/python-bigquery (#18303)

    23f9a74
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: questionRequest for information or clarification. Not an issue.

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.