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 — feat: add 'Client.close' by tseaver · Pull Request #100 · googleapis/python-cloud-core

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

Conversation

@tseaver

@tseaver tseaver commented Jun 11, 2021

Copy link
Copy Markdown
Contributor

FBO use with 'contextlib.closing'.

Closes #64.

Sorry, something went wrong.

Uh oh!

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

akx reacted with hooray emoji
All reactions
  • 🎉 1 reaction
@tseaver
tseaver requested review from a team, busunkim96, chrisrossi, crwilcox and tswast June 11, 2021 20:43
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jun 11, 2021
@tseaver
tseaver force-pushed the 64-add-client-close branch from ef3bbf0 to 090a970 Compare June 14, 2021 16:54
tseaver added 3 commits June 14, 2021 13:59
@tseaver
feat: add 'Client.close'
44c383a
FBO use with 'contextlib.closing'.

Closes #64.
@tseaver
chore: fix Sphinx docstring markup
25cb420
@tseaver
chore: appease lint
71b94c6
@tseaver
tseaver force-pushed the 64-add-client-close branch from 51b77e2 to 71b94c6 Compare June 14, 2021 17:59
@tseaver tseaver mentioned this pull request Jun 14, 2021
chore: release 1.7.0 #101
Merged
chrisrossi
chrisrossi approved these changes Jun 14, 2021
View reviewed changes

@chrisrossi chrisrossi left a comment

Copy link
Copy Markdown

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.

LGTM! I hadn't heard of contextlib.closing.

Sorry, something went wrong.

Uh oh!

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

All reactions
@tseaver
tseaver merged commit 7387fc8 into master Jun 14, 2021
@tseaver
tseaver deleted the 64-add-client-close branch June 14, 2021 21:12
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jun 14, 2021
@release-please
chore: release 1.7.0 (#101)
e1c8d77
🤖 I have created a release \*beep\* \*boop\*
---
## [1.7.0](https://www.github.com/googleapis/python-cloud-core/compare/v1.6.0...v1.7.0) (2021-06-14)


### Features

* add 'Client.close' ([#100](https://www.github.com/googleapis/python-cloud-core/issues/100)) ([7387fc8](https://www.github.com/googleapis/python-cloud-core/commit/7387fc87186defff74612cf85909c7d456155d47))
* add 'Client.from_service_account_info' factory ([#54](https://www.github.com/googleapis/python-cloud-core/issues/54)) ([7e59360](https://www.github.com/googleapis/python-cloud-core/commit/7e59360a43418947cbbb7608aa23ef5d566c964c))


### Documentation

* update python contributing guide ([#80](https://www.github.com/googleapis/python-cloud-core/issues/80)) ([58deef8](https://www.github.com/googleapis/python-cloud-core/commit/58deef8ce2e90415a4c38022e88fdfe25bc666b6))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@tseaver tseaver mentioned this pull request Jun 21, 2021
Support context manager, so each developer can use this module more efficiently googleapis/python-storage#471
Closed
@parthea parthea mentioned this pull request Jun 24, 2021
AuthorizedSession's _auth_request sub-session is never cleaned googleapis/google-auth-library-python#658
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@tswast tswast Awaiting requested review from tswast
@crwilcox crwilcox Awaiting requested review from crwilcox
@busunkim96 busunkim96 Awaiting requested review from busunkim96
1 more reviewer
@chrisrossi chrisrossi chrisrossi 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

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.

Clients do not clean up Requests sessions

Uh oh!

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

2 participants

@tseaver @chrisrossi
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.