-
Notifications
You must be signed in to change notification settings - Fork 1.6k
chore(migration): Migrate code from googleapis/python-storage into packages/google-cloud-storage #16192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
chalmerlowe
wants to merge
1,238
commits into
main
Choose a base branch
from
migration.python-storage.migration.2026-03-26_16-05-55.migrate
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
chore(migration): Migrate code from googleapis/python-storage into packages/google-cloud-storage #16192
Changes from all commits
Commits
Show all changes
1238 commits
Select commit
Hold shift + click to select a range
ab6e7f0
chore: update secret manager in kokoro (#1350)
cojenco 3184de9
chore: update secret manager in kokoro (#1352)
cojenco 9ecc92b
tests: unflake ud system test to only run in prod and hmac sample tes…
cojenco 36273a6
build(python): release script update (#1345)
gcf-owl-bot[bot] e7928bd
chore(deps): update all dependencies (#1329)
renovate-bot 150e526
chore(deps): update all dependencies (#1354)
renovate-bot c26b00f
fix: allow signed post policy v4 with service account and token (#1356)
cojenco b07c817
fix: do not spam the log with checksum related INFO messages when dow…
rafalh b84c757
Feat: Add restore_bucket and handling for soft-deleted buckets (#1365)
andrewsg 712fa3c
feat: add support for restore token (#1369)
cojenco cbc2eda
chore(revert): Revert "feat: add support for restore token (#1369)" (…
cojenco 5f9caff
chore: add Cloud Trace adoption attributes (#1374)
cojenco 9ccdb65
chore: remove debugger comment (#1381)
cojenco c023871
feat: IAM signBlob retry and universe domain support (#1380)
cojenco 678c3a0
tests: skip universe domain test in preprod (#1386)
cojenco 68cf71a
chore(main): release 2.19.0 (#1348)
release-please[bot] df98c9d
chore: include google-resumable-media package as _media
andrewsg e5f17ea
feat: Integrate google-resumable-media (#1283)
andrewsg 00eeb44
docs: Fix issue with exceptions.py documentation (#1328)
andrewsg 0b9cf65
fix: cancel upload when BlobWriter exits with exception (#1243)
ddelange 6f443e0
fix: Changed name of methods `Blob.from_string()` and `Bucket.from_st…
holtskinner b3710c1
Fix: Remove deprecated num_retries argument (#1377)
andrewsg cf7d855
Fix: Remove deprecated text_mode argument (#1379)
andrewsg 05df6f7
Fix: Correctly calculate starting offset for retries of ranged reads …
andrewsg 1824960
Feat: Add "auto" checksum option and make default (#1383)
andrewsg 58a5fd3
feat: Enable custom predicates for media operations (#1385)
andrewsg 8701f66
chore: update test_transfer_manager.py for new retry scheme
andrewsg ba2a4f6
chore: update sample tests and README to reflect new checksum defaults
andrewsg dd0a101
feat: download_to_filename deletes the empty file on a 404 (#1394)
andrewsg e63fc7c
chore(python): Update the python version in docs presubmit to use 3.1…
gcf-owl-bot[bot] 8de1ae3
chore(deps): update all dependencies (#1405)
renovate-bot 36c2adb
chore(python): exclude .github/workflows/unittest.yml in renovate con…
gcf-owl-bot[bot] 6d2e2ca
fix: filter download_kwargs in BlobReader (#1411)
cojenco 746609f
feat: Retry by default for uploads, blob deletes, metadata updates (#…
andrewsg a9e2311
Docs: Correct formatting and update README.rst (#1427)
andrewsg 36999f0
samples: add OTel Tracing quickstart (#1371)
cojenco 123bb58
chore(main): release 3.0.0 (#1393)
release-please[bot] 52cc798
feat: add Bucket.move_blob() for HNS-enabled buckets (#1431)
andrewsg 9a6f523
chore: set gcs-sdk-team as CODEOWNER (#1442)
danielduhh 2e49e0a
chore(python): conditionally load credentials in .kokoro/build.sh (#1…
gcf-owl-bot[bot] 0b80584
chore: move create_trace_span context manager within (#1443)
cojenco 528c352
chore(deps): bump virtualenv from 20.26.3 to 20.26.6 in /.kokoro (#1412)
dependabot[bot] 739c911
Feat: Add api_key argument to Client constructor (#1441)
andrewsg cf1cbeb
chore(main): release 3.1.0 (#1435)
release-please[bot] b0d301d
chore: remove unused files (#1444)
parthea 9dc5c85
chore(deps): update all dependencies (#1413)
renovate-bot 3537f64
fix: allow Protobuf 6.x (#1445)
parthea f3331b2
chore: update CHANGELOG.md to add detail and credit on a security-rel…
andrewsg f3b0c60
docs: update README to break infinite redirect loop (#1450)
dandhlee e443282
fix: remove setup.cfg configuration for creating universal wheels (#1…
parthea a6488b2
docs: move quickstart to top of readme (#1451)
cojenco 5193a77
chore: remove andrewsg from blunderbuss (#1454)
andrewsg 3754b61
chore(deps): update dependency google-cloud-pubsub to v2.29.0 (#1453)
renovate-bot 9d0ad4c
samples: Add samples for async download files #1470 (#1471)
chandra-siri 0aa403a
samples: Add samples for soft_deleted_buckets (#1463)
chandra-siri bef31c8
chore: update retry docs (#1481)
daniel-sanche 31b396b
samples: update retry sample and comments (#1485)
cojenco 3b439ed
chore: update blunderbuss.yml (#1484)
cojenco cf55ddb
fix: add a check for partial response data (#1487)
cojenco 454c607
samples(storage): add samples for soft delete objects (#1486)
shubham-up-47 1ffa493
fix: Segmentation fault in tink while writing data (#1490)
Pulkit0110 8b4a71b
chore(main): release 3.1.1 (#1449)
release-please[bot] 1b7e791
chore: add owlbot for gapic generation (#1492)
Pulkit0110 df18060
chore: add configurations in owlbot.py to copy gapic code (#1494)
Pulkit0110 4470b5c
feat: Adding support of single shot download (#1493)
shubham-up-47 78488fb
tests: update default runtime used for tests (#1498)
parthea e0920b4
chore: update the source path in owlbot.yaml (#1497)
Pulkit0110 04d83a0
test: update constraints for python 3.9 testing (#1500)
parthea e208b11
build: exclude certain autogenerated files (#1501)
parthea c6b3413
chore(main): release 3.2.0 (#1496)
release-please[bot] a59c06e
chore: fix the errors while generating gapic (#1503)
Pulkit0110 dbed661
chore: fix the module imports error for gapic (#1504)
Pulkit0110 3246d6c
docs: update the documentation of move_blob function (#1507)
Pulkit0110 64e0b97
chore: fix the errors for GAPIC (#1509)
Pulkit0110 05aaecc
samples: add samples for move api to rename an object (#1505)
Pulkit0110 a0dd73c
feat: Add new field `contexts` for Object Contexts in message `Object…
gcf-owl-bot[bot] 8cb78d5
chore: exclude autogenerated .coveragerc (#1510)
parthea 76ec3b9
chore: remove duplicates in coveragerc (#1511)
chandra-siri 7112ec4
chore: improve docs for list_files_with_prefix (#1517)
chandra-siri 92759bc
Fix: Add logs on AssertionError for issue #1512 (#1518)
chandra-siri 4cc4dbd
feat: add support for bucket IP filter (#1516)
Pulkit0110 464c7df
chore(main): release 3.3.0 (#1508)
release-please[bot] 8a4ea61
chore: fix system tests due to Public access prevention (#1526)
chandra-siri c879652
fix: send entire object checksum at "initiate a resumable upload sess…
chandra-siri c23ae45
Fix: send part's checksum for XML MPU part upload (#1529)
chandra-siri 7a0a578
updating signed url samples (#1531)
shubham-up-47 a51bc0a
chore: make the gapic code private (#1519)
Pulkit0110 a169649
chore(main): release 3.3.1 (#1532)
release-please[bot] 92d9a37
chore: fix the gapic unit tests (#1536)
Pulkit0110 b104520
chore: update Python generator version to 1.25.1 (#1535)
gcf-owl-bot[bot] fc2facc
chore: add argparse to run samples as script (#1538)
chandra-siri b7969cd
fix: GAPIC generation failed with 'Directory not empty' (#1542)
Pulkit0110 9cd1ee4
chore: Update gapic-generator-python to 1.26.2 (#1540)
gcf-owl-bot[bot] 97233a5
feat(experimental): Add grpc client (#1533)
Pulkit0110 8ec1878
feat(experimental): add async grpc client (#1537)
Pulkit0110 6051502
chore(main): release 3.4.0 (#1543)
release-please[bot] a7d06c9
chore: move async files into async folder (#1544)
chandra-siri 3b6bc4f
feat: Add async bidiRpc files in python-storage (#1545)
chandra-siri 9e34465
feat(experimental): add AsyncAbstractObjectStream (#1546)
chandra-siri 7f855bf
feat(experimental): Add _AsyncReadObjectStream and it's stubs (#1547)
chandra-siri 23f35a0
feat(experimental): Implement `__init__` method for _AsyncReadObjectS…
chandra-siri e4f27e0
feat(zb-experimental): Add all other methods open close send recv in …
chandra-siri 07c1683
feat(zb-experimental): Add AsyncMultiRangeDownloader (#1550)
chandra-siri d3167ad
feat(zb-experimental): implement download_ranges (#1551)
chandra-siri 30d3490
feat(zb-experimental): Add support for closing MRD (#1554)
chandra-siri b7f91f8
feat(zb-experimental): implement `close` in AsyncMultiRangeDownloader…
chandra-siri 5462a17
chore: remove unwanted comments in AsyncMRD (#1557)
chandra-siri 0a03165
feat(experimental): Read handle refresh (#1559)
Pulkit0110 221f079
fix: send entire object checksums via upload methods (#1561)
chandra-siri ff975b3
chore(main): release 3.4.1 (#1552)
release-please[bot] a162d7f
feat(experimental): add checksum for bidi reads operation (#1566)
Pulkit0110 e8ab796
fix: Redact sensitive data from OTEL traces and fix env var parsing (…
rajeevpodar 870a258
feat: Indicate that md5 is used as a CRC (#1522)
xnox 22fb48a
fix: flaky system tests for resumable_media (#1592)
Pulkit0110 fc6acf4
fix: Make `download_ranges` compatible with `asyncio.create_task(..)`…
chandra-siri f860105
feat: Add support for Python 3.14 (#1562)
gcf-owl-bot[bot] 3dfec7d
chore(python): Add Python 3.14 to python post processor image (#1563)
gcf-owl-bot[bot] 6ee7a42
chore: remove local AsyncBidiRpc and use from `google-api-core` >= 2.…
chandra-siri 38a58d0
feat: provide option to update user_agent (#1596)
chandra-siri eb95ed4
fix: Use separate header object for each upload in Transfer Manager M…
MattIrv 8b12d6d
feat(experimental): Add base resumption strategy for bidi streams (#1…
Pulkit0110 0bb3fc4
feat(experimental): Add read resumption strategy (#1599)
Pulkit0110 339ce79
feat(experimental): Handle BidiReadObjectRedirectedError for bidi rea…
Pulkit0110 b061a02
chore(main): release 3.5.0 (#1568)
release-please[bot] 931f35b
feat: make return_partial_success and unreachable fields public for l…
gcf-owl-bot[bot] 50ca91e
fix: dont pass credentials to StorageClient (#1608)
chandra-siri 1f89cdb
feat: add support for partial list buckets (#1606)
Pulkit0110 d6be4c0
feat(zb-experimental): add async write object stream (#1612)
chandra-siri 95db654
chore(main): release 3.6.0 (#1603)
release-please[bot] 3cdce6b
feat(zb-experimental): implement "open" for write_object_stream (#1613)
chandra-siri bde3903
feat(zb-experimental): implement close (#1614)
chandra-siri 33beac8
feat(zb-experimental): implement send & recv (#1615)
chandra-siri 6415a4a
feat(zb-experimental): Add Async_appendable_object_writer.py (#1616)
chandra-siri b10ea23
feat(zb-experimental): implement state_lookup (#1617)
chandra-siri 4db8711
fix(bucket): Move blob fails when the new blob name contains characte…
rcleveng e6a7f97
feat(zb-experimental): implement open in writer (#1618)
chandra-siri 653caec
fix: Skip flaky test (#1622)
mrfaizal bee5852
chore(librarian): onboard to librarian (#1625)
parthea 383b240
feat(zb-experimental): implement flush, close and finalize (#1619)
chandra-siri 2393928
chore(librarian): remove owlbot configs which was missed in #1625 (#1…
parthea ff7eeea
samples: add samples for partial list bucket (#1627)
Pulkit0110 5480c7b
fix(zb-experimental): pass creds to grpc channel (#1623)
chandra-siri 79aa54b
feat(zb-experimental): implement append (#1620)
chandra-siri 9c09440
chore: Add Sys test for move blob where name needs url encoding (#1624)
chandra-siri 99716f7
fix: Add simple flush for optimized writes (#1633)
chandra-siri 51b3485
chore: fix conformance test failure due to VM's API version mismatch.…
chandra-siri b42d7e6
chore: Add gRPC packages under extra-dependencies (#1640)
chandra-siri 579e61b
chore: fix failing system test due to version upgrade of urllib3 (#1651)
chandra-siri 3888325
chore: setup system tests for zonal buckets in cloud build (#1639)
chandra-siri 5c1e6b9
feat: Auto enable mTLS when supported certificates are detected (#1637)
agrawalradhika-cell 7e934ab
feat: send entire object checksum in the final api call of resumable …
chandra-siri dc60fc2
feat: Support urllib3 >= 2.6.0 (#1658)
chandra-siri 620303e
chore(main): release 3.7.0 (#1621)
release-please[bot] e569fac
chore: add gcs-fs as CODEOWNERS (#1660)
chandra-siri 917c5a5
fix: close write object stream always (#1661)
chandra-siri d7284f5
fix(experimental): no state lookup while opening bidi-write stream (#…
chandra-siri c87039d
chore(python): Add support for Python 3.14 (#1593)
chalmerlowe b2b4f79
chore: skip failing samples due to public access prevention enforceme…
chandra-siri 9b67e7d
chore: add system test for cloud path (#1666)
chandra-siri 7ffcb1b
chore: add system 3.9 tests as required (#1670)
chandra-siri 09af85a
feat: expose persisted size in mrd (#1671)
chandra-siri 37030dd
fix: add system test for opening with read_handle (#1672)
chandra-siri 8ce9ca1
chore: Prevent OS Login key accumulation in e2e tests (#1688)
chandra-siri 4dda25a
feat: compute chunk wise checksum for bidi_writes (#1675)
chandra-siri 0b10de1
chore: Add Sys test large obj (#1676)
chandra-siri b9cd9fa
feat: make flush size configurable (#1677)
chandra-siri bdab3ac
chore: skip kms tests until b/470276398 (#1690)
chandra-siri bf929ba
chore: optimization to reduce number of open TCP connections while ru…
chandra-siri 08c5f5f
feat: implement "append_from_file" (#1686)
chandra-siri f11c589
chore: delete topic after creation (#1687)
chandra-siri ddf74c7
Revert "skip notification tests until b/470069573 is fixed" (#1694)
chandra-siri 8537d43
feat(experimental): add bidi stream retry manager. (#1632)
Pulkit0110 f27d248
chore(tests): add test for reading unfinalized appendable objects wit…
chandra-siri 240b1fe
feat(experimental): add write resumption strategy (#1663)
Pulkit0110 48ac795
feat(experimental): flush the last chunk in append method (#1699)
Pulkit0110 4a5dcc0
chore(librarian): bump library version to 3.7.0 (#1703)
parthea daf4430
chore: librarian release pull request: 20260113T144551Z (#1704)
parthea c0b09b2
fix(experimental): implement requests_done method to signal end of re…
chandra-siri bb8bf50
feat(ZonalBuckets): add support for `generation=0` to avoid overwriti…
chandra-siri 27aedf8
feat(samples): add samples for appendable objects writes and reads (#…
chandra-siri c03a1d9
feat(grpc_user_agent): send `user_agent` to grpc channel (#1712)
chandra-siri c18c252
fix: Fix formatting in setup.py dependencies list (#1713)
chandra-siri 7176b88
feat: Add micro-benchmarks for reads comparing standard (regional) vs…
chandra-siri 38443f4
feat: Add micro-benchmarks for writes comparing standard (regional) v…
chandra-siri 265c7a1
refactor: move system tests to single event loop (#1714)
chandra-siri 6011b97
feat: Add support for opening via `write_handle` and fix `write_handl…
chandra-siri ba8b6d1
fix: update write handle on every recv() (#1716)
chandra-siri a0630be
feat(experimental): integrate writes strategy and appendable object w…
Pulkit0110 10f6679
feat: add context manager to mrd (#1724)
chandra-siri f09614d
fix: instance grpc client once per process in benchmarks (#1725)
chandra-siri 66e7524
feat: expose finalized_time in blob.py applicable for GET_OBJECT in Z…
chandra-siri 4e86678
fix!: Change contructors of MRD and AAOW AsyncGrpcClient.grpc_client …
chandra-siri 1e2236e
feat: add default user agent for grpc (#1726)
Pulkit0110 2beaf30
feat: Move Zonal Buckets features of `_experimental` (#1728)
chandra-siri d9a3337
feat: update generation for MRD (#1730)
Pulkit0110 707b890
feat: expose `DELETE_OBJECT` in `AsyncGrpcClient` (#1718)
chandra-siri da08b06
fix: receive eof while closing reads stream (#1733)
Pulkit0110 f990846
chore: Add README for running zonal buckets samples (#1734)
chandra-siri 5e9f32e
feat: add get_object method for async grpc client (#1735)
Pulkit0110 aac3fd4
chore: librarian release pull request: 20260202T123858Z (#1736)
chandra-siri 9f5ee9c
chore: Migrate gsutil usage to gcloud storage (#1732)
gurusai-voleti b65425d
chore: add depreciation warning for generation_number (#1740)
Pulkit0110 c3656d2
chore: remove python 3.9 support. (#1748)
chandra-siri ab4fedb
fix: don't flush at every append, results in bad perf (#1746)
chandra-siri 8d38be4
feat: add time based benchmarks (#1749)
chandra-siri ea35ba3
fix: init mp pool & grpc client once, use os.sched_setaffinity (#1751)
chandra-siri d240a2a
fix: pass token correctly, '&' instead of ',' (#1756)
chandra-siri 2851482
chore: replace old teams with cloud-sdk-python-team and gcs-team (#1758)
suztomo 2d83fe1
chore: add Rapid x region sys test (#1765)
chandra-siri fa9a239
feat: Triger bidi conformance tests (#1757)
chandra-siri ff06db4
fix(transfer_manager): Prevent path traversal in `download_many_to_pa…
chandra-siri 61c396e
chore: clean up release please configuration files (#1667)
parthea 0908e28
chore: don't use mtls in gcb until b/492452834 is fixed (#1769)
chandra-siri 1fcae1d
chore: skip hmac tests until b/493225655 is fixed (#1771)
nidhiii-27 90e92d1
feat: add support for bucket encryption enforcement config (#1742)
rajeevpodar 56a79f1
feat(storage): Use raw proto access for read resumption strategy (#1764)
googlyrahman c24878d
feat(storage): support returning skipped items as UserWarning in down…
chandra-siri 0ba344c
fix(storage): skip downloading blobs whose name contain `":" ` eg: `C…
chandra-siri 90cf63c
feat(samples): add argparse and clarify traversal support in download…
chandra-siri ba01cdb
chore: librarian release pull request: 20260318T145147Z (#1776)
chandra-siri e7b6dc1
fix: raise ValueError if api_endpoint is unset when using AnonymousCr…
chandra-siri bd306e9
chore: run bidi_tests independently (#1781)
chandra-siri 0b551dc
chore: librarian release pull request: 20260323T070628Z (#1782)
chandra-siri 1230e17
chore: librarian generate pull request: 20260326T175601Z (#1785)
parthea e036b18
chore: librarian update image pull request: 20260326T182616Z (#1786)
parthea 3530490
Merge remote-tracking branch 'remote.googleapis/python-storage/main' …
chalmerlowe 1170c9b
Trigger owlbot post-processor
chalmerlowe 6ca3398
build: google-cloud-storage migration: adjust owlbot-related files
chalmerlowe 48bc3aa
chore: delete unused directories and files
chalmerlowe 2a88452
chore: update repo URLs and references and check for Ruff
chalmerlowe bbbee61
chore: updates librarian state.yaml with library id and metadata
chalmerlowe 547d5d8
chore: updates constraints files
chalmerlowe f58c3c0
chore: updates trove classifier and minimum requirement
chalmerlowe 165f33d
chore: updates toc entry in index.rst and adds symlink to changelog
chalmerlowe f83a8c2
chore: updates to noxfile sessions and python versions
chalmerlowe bb455ff
chore: updates linting
chalmerlowe 570eccf
chore: additional linting updates
chalmerlowe 480b3e7
chore: updates to lint and cred handling
chalmerlowe a3b1353
chore: fixes indent problem
chalmerlowe 244dac9
chore: fixes another indent problem
chalmerlowe 87b7ba9
fix: updates typing for python 3.8
chalmerlowe e3c4c86
chore: updates state.yaml to account for handwritten state
chalmerlowe 6ad8180
chore: updates noxfile with additional sessions, ruff, etc
chalmerlowe 26db6ec
chore: adds pragma to avoid isort reordering of __version__ import
chalmerlowe 975065e
chore: adds FLAKE8_VERSION
chalmerlowe ead2760
chore: removes flake8, black, etc paths
chalmerlowe 2a28448
chore: reformats noxfile.py
chalmerlowe 7dd5a03
chore: reformat with ruff
chalmerlowe d93c972
chore: add storage-integration.yaml to replace generated __init__.py …
chalmerlowe db15948
chore: update noxfile to parametrize conformance tests
chalmerlowe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
.librarian/generator-input/client-post-processing/storage-integration.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| description: Restore handwritten __init__.py for google-cloud-storage | ||
| replacements: | ||
| - paths: [ | ||
| packages/google-cloud-storage/google/cloud/storage/__init__.py | ||
| ] | ||
| before: '(?s)\A(?:(?!\bClient\b).)*\Z' | ||
| after: | | ||
| # Copyright 2014 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| """Shortcut methods for getting set up with Google Cloud Storage. | ||
|
|
||
| You'll typically use these to get started with the API: | ||
|
|
||
| .. literalinclude:: snippets.py | ||
| :start-after: START storage_get_started | ||
| :end-before: END storage_get_started | ||
| :dedent: 4 | ||
|
|
||
| The main concepts with this API are: | ||
|
|
||
| - :class:`~google.cloud.storage.bucket.Bucket` which represents a particular | ||
| bucket (akin to a mounted disk on a computer). | ||
|
|
||
| - :class:`~google.cloud.storage.blob.Blob` which represents a pointer to a | ||
| particular entity in Cloud Storage (akin to a file path on a remote | ||
| machine). | ||
| """ | ||
|
|
||
| from google.cloud.storage.version import __version__ # isort: skip | ||
| from google.cloud.storage.batch import Batch | ||
| from google.cloud.storage.blob import Blob | ||
| from google.cloud.storage.bucket import Bucket | ||
| from google.cloud.storage.client import Client | ||
|
|
||
| __all__ = ["__version__", "Batch", "Blob", "Bucket", "Client"] | ||
| count: 1 |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| [run] | ||
| branch = True | ||
|
|
||
| [report] | ||
| show_missing = True | ||
| omit = | ||
| .nox/* | ||
| google/cloud/storage/__init__.py | ||
| google/cloud/storage/gapic_version.py | ||
| exclude_lines = | ||
| # Re-enable the standard pragma | ||
| pragma: NO COVER | ||
| # Ignore debug-only repr | ||
| def __repr__ |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # -*- coding: utf-8 -*- | ||
| # Copyright 2025 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| [flake8] | ||
| # TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): | ||
| # Resolve flake8 lint issues | ||
| ignore = E203, E231, E266, E501, W503 | ||
| exclude = | ||
| # TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): | ||
| # Ensure that generated code passes flake8 lint | ||
| **/gapic/** | ||
| **/services/** | ||
| **/types/** | ||
| # Exclude Protobuf gencode | ||
| *_pb2.py | ||
|
|
||
| # Standard linting exemptions. | ||
| **/.nox/** | ||
| __pycache__, | ||
| .git, | ||
| *.pyc, | ||
| conf.py |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| { | ||
| "name": "storage", | ||
| "name_pretty": "Google Cloud Storage", | ||
| "product_documentation": "https://cloud.google.com/storage", | ||
| "client_documentation": "https://cloud.google.com/python/docs/reference/storage/latest", | ||
| "issue_tracker": "https://issuetracker.google.com/savedsearches/559782", | ||
| "release_level": "stable", | ||
| "language": "python", | ||
| "library_type": "GAPIC_MANUAL", | ||
| "repo": "googleapis/google-cloud-python", | ||
| "distribution_name": "google-cloud-storage", | ||
| "api_id": "storage.googleapis.com", | ||
| "requires_billing": true, | ||
| "default_version": "v2", | ||
| "codeowner_team": "@googleapis/cloud-sdk-python-team @googleapis/gcs-team @googleapis/gcs-fs", | ||
| "api_shortname": "storage", | ||
| "api_description": "is a durable and highly available object storage service. Google Cloud Storage is almost infinitely scalable and guarantees consistency: when a write succeeds, the latest copy of the object will be returned to any GET, globally." | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
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.
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.
There appears to be a typo in the
codeowner_teamvalue. It's specified as@googleapis/gcs-fs, but based on the.github/CODEOWNERSfile, it should likely be@googleapis/gcs-fs-team.