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 — fix: update batch connection to request api endpoint info from client by cojenco · Pull Request #392 · googleapis/python-storage

This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Conversation

@cojenco

@cojenco cojenco commented Mar 9, 2021

Copy link
Copy Markdown
Contributor

Instantiating a batch creates a new connection. Since api endpoint and client info were not requested from the client, the batch did not respect client api endpoint (STORAGE_EMULATOR_HOST). This PR updates the batch constructor to request api endpoint and client info from client.

Fixes #376

Sorry, something went wrong.

Uh oh!

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

oittaa and frankyn reacted with hooray emoji
All reactions
  • 🎉 2 reactions
cojenco added 2 commits March 5, 2021 14:38
@cojenco
bug: let Batch Connection request api endpoint info from Client
1ea3bb3
@cojenco
add unit test coverage
f021208
@cojenco
cojenco requested review from a team March 9, 2021 22:21
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 9, 2021
@product-auto-label product-auto-label Bot added the api: storage Issues related to the googleapis/python-storage API. label Mar 9, 2021
andrewsg
andrewsg approved these changes Mar 9, 2021
View reviewed changes

@andrewsg andrewsg left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

Sorry, something went wrong.

Uh oh!

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

All reactions
@cojenco
cojenco merged commit 91fc6d9 into master Mar 9, 2021
@cojenco
cojenco deleted the batch-376 branch March 9, 2021 22:39
This was referenced Mar 11, 2021
build(deps): bump google-cloud-storage from 1.35.0 to 1.36.2 exesse/mongodump-s3#58
Closed
Bump google-cloud-storage from 1.36.1 to 1.36.2 in /app oittaa/avif-converter#18
Merged
Bump google-cloud-storage from 1.35.0 to 1.36.2 in /requirements allan-silva/balrog#58
Closed
Bump google-cloud-storage from 1.36.0 to 1.36.2 RasaHQ/rasa#8171
Closed
build(deps): bump google-cloud-storage from 1.35.0 to 1.36.2 in /bot mozilla/code-coverage#829
Merged
build(deps): bump google-cloud-storage from 1.35.0 to 1.36.2 in /backend mozilla/code-coverage#830
Merged
Bump google-cloud-storage from 1.36.1 to 1.36.2 mozilla/jetstream#557
Closed
chore(deps): bump google-cloud-storage from 1.36.1 to 1.36.2 in /app mozilla/experimenter#4812
Merged
Bump google-cloud-storage from 1.36.0 to 1.36.2 CC-Wolke7/app-microservice#41
Closed
Bump google-cloud-storage from 1.36.1 to 1.36.2 tipresias/augury#437
Closed
cojenco added a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
@cojenco
fix: update batch connection to request api endpoint info from client (…
d8b3ed2
…googleapis#392)

* bug: let Batch Connection request api endpoint info from Client

* add unit test coverage

Co-authored-by: Cathy Ouyang <[email protected]>
cojenco added a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
@cojenco
fix: update batch connection to request api endpoint info from client (…
044f1f2
…googleapis#392)

* bug: let Batch Connection request api endpoint info from Client

* add unit test coverage

Co-authored-by: Cathy Ouyang <[email protected]>
@release-please release-please Bot mentioned this pull request Jan 12, 2022
chore(main): release 3.0.0 #688
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@andrewsg andrewsg andrewsg approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

api: storage Issues related to the googleapis/python-storage 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.

Batch doesn't respect STORAGE_EMULATOR_HOST env variable

Uh oh!

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

2 participants

@cojenco @andrewsg
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.