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 — Entities loaded in gcloud.datastore don't have a dataset · Issue #86 · googleapis/google-cloud-python

Entities loaded in gcloud.datastore don't have a dataset #86

New issue
Copy link
New issue
Copy link
Closed
Closed
Entities loaded in gcloud.datastore don't have a dataset#86
Copy link
Assignees
jgeewax
Labels
🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@jgeewax
jgeewax
opened on Apr 22, 2014
Issue body actions
>>> dataset = demo.get_dataset()
>>> query = dataset.query()
>>> entity = query.fetch()[0]
>>> entity.delete()
... 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gcloud/datastore/entity.py", line 206, in delete
    self.dataset().connection().delete_entity(
AttributeError: 'NoneType' object has no attribute 'delete_entity'

This is because we're creating entities from the protobufs, with the proper dataset_id but not a true reference to the Dataset object (which has a pointer to the connection).

Activity

Next
  1. jgeewax
    added
    bug
    on Apr 22, 2014
  2. jgeewax
    added 2 commits that reference this issue on Apr 22, 2014

    Fixed googleapis#86 - Entity objects from a fetched query have a prop…

    This issue will close once commit 81f109e is merged into the 'master' branch.
    81f109e

    Fix googleapis#86 - Entity objects from a fetched query have a proper…

    This issue will close once commit 86b886e is merged into the 'master' branch.
    86b886e
  3. jgeewax
    closed this as completedin 86b886eon Apr 22, 2014
  4. jgeewax
    added a commit that references this issue on Apr 22, 2014

    Merge pull request #87 from jgeewax/86-fix-dataset-reference

    This issue will close once commit 9654c3b is merged into the 'main' branch.
    9654c3b
  5. jgeewax
    modified the milestone: This milestone has been deleted on Jan 30, 2015
  6. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 6, 2020
  7. JustinBeckwith
    assigned
    jgeewax
    on Feb 1, 2021
  8. vchudnov-g
    added a commit that references this issue on Apr 19, 2023

    chore(main): release 1.2.3 (#86)

    db3b51d
  9. parthea
    added 2 commits that reference this issue on Apr 20, 2023

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

    90d8f68

    chore: update copyright year to 2022 (#86)

    62dbd5b
  10. vchudnov-g
    added a commit that references this issue on May 8, 2023

    chore(python): add nox session to sort python imports (#86)

    6a9ae00
  11. 86 remaining items

  12. parthea
    added 10 commits that reference this issue on Nov 24, 2025

    chore(python): disable dependency dashboard (#86)

    61d03c8

    chore(deps): update actions/setup-python action to v3 (#86)

    9ff1c41

    docs: fix links to installed app, client secrets docs (#86)

    43e70bf

    chore: release 0.4.5 (#138)

    336496b

    chore: release 1.5.1 (#86)

    52ca420

    fix: map LRO errors to library exception types (#86)

    4be8ef1

    chore: Add license headers for python config files (#86)

    9bf82fa

    chore(main): release 0.4.1-alpha (#86)

    9e666dd

    chore(deps): update dependency google-cloud-error-reporting to v1.1.1 (…

    2d7ec93

    Merge pull request #86 from googleapis/specify-markdown

    48ec501
  13. parthea
    added 4 commits that reference this issue on Mar 2, 2026

    chore: release 1.1.4 (#86)

    6835b41

    Finish download on seeing 416 response with zero byte range. (#86)

    02181c2

    CI: add flake8, isort to .travis.yml

    fd66fb4

    feat: add support for NUMERIC type (#86)

    afce2c1
  14. ohmayr
    added a commit that references this issue on Mar 31, 2026

    chore: release 1.1.4 (#86)

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

Metadata

Metadata

Assignees

  • @jgeewax
    jgeewax

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.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.