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 — Making cors a property instead of having two separate methods. by dhermes · Pull Request #768 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Mar 28, 2015

Copy link
Copy Markdown
Contributor

@tseaver based on your comment, this drops one of the non-property data access pairs. More importantly, it drops one of the internal users of patch().

Sorry, something went wrong.

Uh oh!

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

All reactions
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 28, 2015
@dhermes dhermes added the api: storage Issues related to the Cloud Storage API. label Mar 28, 2015
@coveralls

coveralls commented Mar 28, 2015

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 5d83599 on dhermes:make-cors-property into 4d69bb3 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

This was referenced Mar 28, 2015
STORAGE: Does a connection need to be bound to anything other than a Batch or Iterator? #728
Closed
Removing HTTP requests from Bucket logging methods. #769
Merged
tseaver
tseaver reviewed Mar 30, 2015
View reviewed changes
Comment thread gcloud/storage/bucket.py Outdated

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.

@tseaver

tseaver commented Mar 30, 2015

Copy link
Copy Markdown
Contributor

LGTM w/ exception of my :rtype: comment.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes
Making cors a property instead of having two separate methods.
970e1c0
@dhermes
dhermes force-pushed the make-cors-property branch from 5d83599 to 970e1c0 Compare March 30, 2015 18:56
@dhermes

dhermes commented Mar 30, 2015

Copy link
Copy Markdown
Contributor Author

Wrapped the change into the original commit and rebased after #774 just for fun

All reactions

Sorry, something went wrong.

Uh oh!

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

@coveralls

coveralls commented Mar 30, 2015

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 970e1c0 on dhermes:make-cors-property into f65f7c7 on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

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

dhermes added a commit that referenced this pull request Mar 30, 2015
@dhermes
Merge pull request #768 from dhermes/make-cors-property
adc0029
Making cors a property instead of having two separate methods.
@dhermes
dhermes merged commit adc0029 into googleapis:master Mar 30, 2015
@dhermes
dhermes deleted the make-cors-property branch March 30, 2015 19:23
@dhermes dhermes mentioned this pull request Apr 9, 2015
Upgrading version to 0.5.0. #813
Merged
parthea pushed a commit that referenced this pull request Sep 18, 2025
@Linchin
fix: handle None when converting numerics to parquet (#768)
9ec16b3
* fix: handle None when converting numerics to parquet

* lint and fix unit test

* add check for pandas.NA
parthea pushed a commit that referenced this pull request Nov 22, 2025
@gcf-owl-bot
feat: publish RateLimitInfo and FeatureFlag protos (#768)
0e02a2d
* feat: publish RateLimitInfo and FeatureFlag protos

PiperOrigin-RevId: 527878708

Source-Link: googleapis/googleapis@f129f48

Source-Link: googleapis/googleapis-gen@e02c87d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTAyYzg3ZDlkMGM5YTc3ZjJiMTcyNjhhODZmNDYyYjVhMWQ2NmJiZCJ9

* 🦉 Updates from OwlBot post-processor

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

* fix: Add feature flag proto to BUILD file

PiperOrigin-RevId: 528468347

Source-Link: googleapis/googleapis@38247e8

Source-Link: googleapis/googleapis-gen@17e62a1
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTdlNjJhMWFiNWYyMmQ3ZDUzNzY3NWE2NTkxNTcyMDdlNDA2ZTYzZCJ9

* 🦉 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 pushed a commit that referenced this pull request Nov 24, 2025
@vam-google
fix: body encoding for rest transport (#768)
2d30ec5
Basically just replace `json` argument with `data`

Apparently, the `json` parameter in requests.Session.request() method does not expect JSON string,
but expects python dictionary instead, which is not intuitive and does not even match the
documentation of the method: https://github.com/psf/requests/blob/master/requests/sessions.py#L483.

At the same time in the Quickstart, it is explicitly said that `json` parameter was added in
version `2.4.2` and expects python `dict`, while `data` argument can process raw encoded json
string.
parthea added a commit that referenced this pull request Nov 24, 2025
@daniel-sanche @parthea
chore(types): update mypy version (#768)
ac16eaf
* use latest mypy for check

* use separate variable for error_info list vs dict

* make wrapped call generic

* fix typing for nullable retry functions

* include async_rest in mypy installation

* removed generic application

---------

Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Nov 24, 2025
@gcf-owl-bot
build(deps): [autoapprove] bump pygments from 2.13.0 to 2.15.0 (#768)
025388f
Source-Link: googleapis/synthtool@eaef28e
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f8ca7655fa8a449cadcabcbce4054f593dcbae7aeeab34aa3fcc8b5cf7a93c9e

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 25, 2025
@gcf-owl-bot
build(deps): [autoapprove] bump pygments from 2.13.0 to 2.15.0 (#768)
213a8d1
Source-Link: googleapis/synthtool@eaef28e
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f8ca7655fa8a449cadcabcbce4054f593dcbae7aeeab34aa3fcc8b5cf7a93c9e

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 2, 2026
@gcf-owl-bot
chore(python): exclude path in renovate.json [autoapprove] (#768)
6e499d3
Source-Link: googleapis/synthtool@69fabae
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:562802bfac02e012a6ac34eda282f81d06e77326b82a32d7bbb1369ff552b387

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 6, 2026
@tseaver
chore: expand range to allow 2.x versions (#768)
4792598
api-core, cloud-core, and resumable-media wil all be releasing Python3-only
2.x versions shortly.

Closes #767.
parthea pushed a commit that referenced this pull request Mar 9, 2026
@renovate-bot
chore(deps): update dependency certifi to v2025.10.5 (#768)
6c606a4
parthea pushed a commit that referenced this pull request Mar 9, 2026
@release-please
chore(main): release 2.4.0 (#768)
3b73d6f
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea added a commit that referenced this pull request Mar 9, 2026
@gcf-owl-bot @parthea @asthamohta
fix: require python 3.7+ (#768)
48c1d1d
* chore(python): drop python 3.6

Source-Link: googleapis/synthtool@4f89b13
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e7bb19d47c13839fe8c147e50e02e8b6cf5da8edd1af8b82208cd6f66cc2829c

* add api_description to .repo-metadata.json

* require python 3.7+ in setup.py

* remove python 3.6 sample configs

* 🦉 Updates from OwlBot post-processor

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

* exclude templated README

* restore manual changes to noxfile.py

* update owlbot.py to apply manual changes from #759

* regenerate pb2 files using latest version of grpcio tools

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Astha Mohta <[email protected]>
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: storage Issues related to the Cloud 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.

Uh oh!

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

4 participants

@dhermes @coveralls @tseaver @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.