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 — Remove datastore.Dataset class · Issue #477 · googleapis/google-cloud-python

Remove datastore.Dataset class #477

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove datastore.Dataset class#477
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 Jan 2, 2015
Issue body actions

The replacement will be handled by a string when dataset ID is explicitly needed (which will only be for power users). Some functionality will be moved to key.Key and the rest to the connection module as free functions. In order to make use easier, they will also have versions in __init__ which can use a default / implicit connection.

Steps to complete:

  • Make set_default_connection similar to set_default_dataset (Address first part of 477: Implements datastore.set_default_connection. #478)
  • Remove query(), entity(), and transaction() methods from Dataset, replace their use elsewhere. (Address second part of 477: Remove query(), entity(), and transaction() methods from Dataset. #479)
  • Move Dataset.get_entity to Key (will impact elsewhere, e.g. Entity.reload) (Address third part of 477: Move Dataset.get_entity to Key. #480)
  • Move save() and delete() methods delete() method from Entity to Key (Address fourth part of 477: Moving Entity.delete to Key (for datastore). #481)
  • Move allocate_ids() method from Dataset to connection __init__ module as free function (Address fifth part of 477: Moves Dataset.allocate_ids to connection module. #482)
  • Move get_entities() method from Dataset to connection __init__ module as free function (Address sixth part of 477: Moves Dataset.get_entities to __init__ module. #483)
  • Fix Remove dataset from Entity constructor and allow a key #484, Remove Query dependency on Dataset and make dataset_id required in Query #485, Remove Transaction dependency on Dataset #486 - Lots to do to re-make Entity, Query, and Transaction to not depend on Dataset
  • Remove all remnants of Dataset (e.g. set_default_dataset, Entity._must_dataset, and _implicit_environ._DatastoreBase)
  • Update stale documentation

NOTE: Don't close until cyclic-import in #480 is resolved.

See https://docs.google.com/document/d/1xKw8Tz6lfN5uOcv0my4uUgFSeDoRzwCLho2UGlBpqDU/edit for more.

Activity

Next
  1. dhermes
    added
    api: datastoreIssues related to the Datastore API.
    on Jan 2, 2015
  2. dhermes
    added 2 commits that reference this issue on Jan 2, 2015

    Implements datastore.set_default_connection.

    bdb69ac

    Remove query(), entity(), and transaction() methods from Dataset.

    56e9c05
  3. dhermes
    self-assigned this
    on Jan 2, 2015
  4. dhermes
    added 11 commits that reference this issue on Jan 2, 2015

    Move Dataset.get_entity to Key.

    6479182

    Moving Entity.delete to Key (for datastore).

    7c04a74

    Moves Dataset.allocate_ids to connection module.

    149c766

    Moves Dataset.get_entities to connection module.

    1682683

    Implements datastore.set_default_connection.

    9e4ee08

    Remove query(), entity(), and transaction() methods from Dataset.

    6ef0156

    Move Dataset.get_entity to Key.

    0a51f4a

    Move Dataset.get_entity to Key.

    62204e7

    Moving Entity.delete to Key (for datastore).

    a741516

    Moves Dataset.allocate_ids to connection module.

    c401bbc

    Moves Dataset.get_entities to __init__ module.

    d2a1446
  5. 25 remaining items

  6. parthea
    added 3 commits that reference this issue on Oct 21, 2023

    chore(main): release 3.10.1 (#477)

    4142543

    chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#477)

    ad92ff9

    chore(deps): update dependency mock to v5.0.1 (#477)

    06842e8
  7. parthea
    added a commit that references this issue on Aug 21, 2025

    Add BigQuery Storage API client (currently alpha) (#6696)

    d7f512f
  8. parthea
    added 2 commits that reference this issue on Sep 16, 2025

    Add BigQuery Storage API client (currently alpha) (#6696)

    4e91e7d

    docs: document additional breaking change in 0.17.0 (#477)

    2428023
  9. parthea
    added 6 commits that reference this issue on Nov 22, 2025

    ci: run samples under Python 3.9 / 3.10 (#478)

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

    chore: release 0.25.1 (#477)

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

    fix: fix issue with equality comparison of repeated field with None (#…

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

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

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

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

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

    chore: release 1.13.0 (#477)

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

    chore(deps): update dependency rich to v13 (#477)

    dfd6106

    chore: require CODEOWNER review and up to date branches (#477)

    3b4428a
  11. 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

🚨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.