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 — Implement "client" pattern for datastore · Issue #944 · googleapis/google-cloud-python

Implement "client" pattern for datastore #944

New issue
Copy link
New issue
Copy link
Closed
Closed
Implement "client" pattern for datastore#944
Copy link
Assignees
tseaver
Labels
api: datastoreIssues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@tseaver
tseaver
opened on Jun 23, 2015
Issue body actions

Per #861.

Steps:

  • Rename gcloud.datastore.dataset.Dataset -> gcloud.datastore.client.Client. (Rename 'dataset.Dataset' -> 'client.Client'. #946)
  • Unwind _implicit_environ usage within client. (Move implicit majyk inside 'Client.__init__'. #956)
  • Move gcloud.datastore.api functions to methods of Client. (Move 'datastore.api' functions to 'datastore.client.Client' methods. #963)
  • Update Client to handle nesting of batches / transactions over primary connection. (Update 'Client' to hold stack of connection/batch/transaction objects. #976)
  • Update domain objects making API requests to hold reference to client. (Update batch/transaction/query to hold client. #978)
  • Update Batch and Transaction context managers to push themselves onto their client's stack. (Update batch/transaction/query to hold client. #978)
  • Update domain object methods taking connection to accept client, falling back to self.client. (Update batch/transaction/query to hold client. #978)
  • Remove remaining _implicit_environ usage. (Remove '_implicit_environ' #979)

Activity

  1. tseaver
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    api: datastoreIssues related to the Datastore API.
    on Jun 23, 2015
  2. tseaver
    self-assigned this
    on Jun 23, 2015
  3. dhermes commented on Jun 23, 2015

    @dhermes
    dhermes
    on Jun 23, 2015
    Contributor
    More actions

    Thanks for the outline!

  4. dhermes commented on Jun 26, 2015

    @dhermes
    dhermes
    on Jun 26, 2015
    Contributor
    More actions

    @tseaver I am going to factor out Client as a base class in core. Will this cause problems for you?

  5. tseaver commented on Jul 2, 2015

    @tseaver
    tseaver
    on Jul 2, 2015
    ContributorAuthor
    More actions

    @dhermes go ahead for pubsub / storage, but please leave the one in datastore alone until after I'm done here.

  6. dhermes commented on Jul 2, 2015

    @dhermes
    dhermes
    on Jul 2, 2015
    Contributor
    More actions

    #955 is just in place as an example, I dropped the don't merge label on it.

    I'd like to get #953 in before starting on storage. pubsub is all done (aside from the refactoring)

  7. tseaver
    closed this as completedon Jul 13, 2015
  8. parthea
    added a commit that references this issue on Oct 21, 2023

    chore: move samples from python-docs-sample (#45)

    d369a34
  9. parthea
    added a commit that references this issue on Aug 21, 2025

    chore: Update gapic-generator-python to 1.25.0 (#944)

    ea51a3b
  10. parthea
    added a commit that references this issue on Sep 16, 2025

    chore: Update gapic-generator-python to 1.25.0 (#944)

    2cbb983
  11. parthea
    added a commit that references this issue on Nov 24, 2025

    chore(main): release 2.17.1 (#944)

    c131ea3
  12. parthea
    added a commit that references this issue on Mar 2, 2026

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

    112307d
  13. parthea
    added 2 commits that reference this issue on Mar 9, 2026

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

    291205a

    chore(main): release 3.35.0 (#944)

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

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

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.