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 — Update batch/transaction/query to hold client. by tseaver · Pull Request #978 · googleapis/google-cloud-python

Conversation

@tseaver

@tseaver tseaver commented Jul 10, 2015

Copy link
Copy Markdown
Contributor

Update batch/transaction to push themselves onto client's stack, rather
than batches.

Updated API-invoking methods to take 'client', rather than 'connection',
falling back to the client held by self.

See #944.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tseaver
Update batch/transaction/query to hold client.
e4b89d3
Update batch/transaction to push themselves onto client's stack, rather
than batches.

Updated API-invoking methods to take 'client', rather than 'connection',
falling back to the client held by self.

See #944.
@tseaver tseaver added the api: datastore Issues related to the Datastore API. label Jul 10, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 10, 2015
This was referenced Jul 10, 2015
Implement "client" pattern for datastore #944
Closed
Remove '_implicit_environ' #979
Merged
dhermes
dhermes reviewed Jul 10, 2015
View reviewed changes
Comment thread gcloud/datastore/batch.py

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Jul 10, 2015

Copy link
Copy Markdown
Contributor

All finished with review, will await your comments.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tseaver added 5 commits July 10, 2015 15:54
@tseaver
Fall back to client 'dataset_id'/'namespace' in ctor.
5c95358
Do it once, rather than in each property invocation.

Addresses:
#978 (comment)
#978 (comment)
@tseaver
Avoid sharing mock between testcase modules.
0c411dc
Addresses:
#978 (comment)
@tseaver
Better testcase name, purpose for 'Query.__init__' defaults.
0a5af63
Addresses:
#978 (comment)
@tseaver
Use 'self._DATASET' rather than literal string.
ffa7100
Addresses:
#978 (comment)
@tseaver
Rename testcase for better indication of purpose.
d556b63
Addresses:
#978 (comment)
@tseaver

tseaver commented Jul 10, 2015

Copy link
Copy Markdown
Contributor Author

@dhermes I think I have addressed everything. PTAL.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Jul 10, 2015

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tseaver added a commit that referenced this pull request Jul 11, 2015
@tseaver
Merge pull request #978 from tseaver/944-batch_transaction_query_hold…
3c76dbf
…_client

Update batch/transaction/query to hold client.
@tseaver
tseaver merged commit 3c76dbf into googleapis:master Jul 11, 2015
@tseaver
tseaver deleted the 944-batch_transaction_query_hold_client branch July 11, 2015 03:42
@dhermes dhermes mentioned this pull request Jul 21, 2015
Upgrading version to 0.7 #981
Merged
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Jul 21, 2015
@dhermes
Documenting Iterator constructor in datastore.
559d53c
See googleapis#978 for context.
@dhermes dhermes mentioned this pull request Jul 21, 2015
Documenting Iterator constructor in datastore. #1006
Merged
parthea added a commit that referenced this pull request Sep 11, 2025
@parthea
fix(deps): require google-api-core >= 1.34.1 (#978)
a725155
This was referenced Sep 12, 2025
chore: release main #14428
Closed
chore: release main #14431
Closed
parthea added a commit that referenced this pull request Sep 16, 2025
@parthea
fix(deps): require google-api-core >= 1.34.1 (#978)
c7c1338
parthea pushed a commit that referenced this pull request Nov 22, 2025
@daniel-sanche
chore(docs): improve async docstrings (#978)
3706405
parthea pushed a commit that referenced this pull request Nov 24, 2025
@sorced-jim @gcf-owl-bot
tests: Add nox target to test against the old emulator. (#978)
b5258e7
* tests: Add nox target to test against the old emulator.

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea added a commit that referenced this pull request Nov 26, 2025
@parthea
chore: add custom sync repo settings (#978)
a123336
parthea pushed a commit that referenced this pull request Mar 2, 2026
@daniel-sanche
chore(docs): improve async docstrings (#978)
0876d3b
parthea pushed a commit that referenced this pull request Mar 6, 2026
@tswast
test: look for transaction info on child job, not parent job (#978)
16ae018
* test: look for transaction info on child job, not parent job

* clarify transaction_info docstring

* use sphinx method directive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: datastore Issues related to the Datastore API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@tseaver @dhermes @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.