FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Making cors a property instead of having two separate methods. by dhermes · Pull Request #768 · googleapis/google-cloud-python · GitHub

Making cors a property instead of having two separate methods. - #768

Merged
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:make-cors-property
Mar 30, 2015
Merged

Making cors a property instead of having two separate methods.#768
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:make-cors-property

Conversation

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().

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

Copy link
Copy Markdown

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

Comment thread gcloud/storage/bucket.py Outdated

This comment was marked as spam.

tseaver commented Mar 30, 2015

Copy link
Copy Markdown
Contributor

LGTM w/ exception of my :rtype: comment.

dhermes force-pushed the make-cors-property branch from 5d83599 to 970e1c0 Compare March 30, 2015 18:56

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

Copy link
Copy Markdown

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

dhermes added a commit that referenced this pull request Mar 30, 2015
Making cors a property instead of having two separate methods.
dhermes merged commit adc0029 into googleapis:master Mar 30, 2015
dhermes deleted the make-cors-property branch March 30, 2015 19:23
parthea pushed a commit that referenced this pull request Sep 18, 2025
* 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
* 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
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
* 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 <partheniou@google.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
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
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
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
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
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
* 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 <partheniou@google.com>
Co-authored-by: Astha Mohta <35952883+asthamohta@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL