- Notifications
You must be signed in to change notification settings - Fork1.6k
chore(migration): Migrate code from googleapis/python-datastore into packages/google-cloud-datastore#14928
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Draft
parthea wants to merge649 commits intomainChoose a base branch frommigration.python-datastore.migration.2025-11-24_21-55-24.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.
Draft
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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
Wrap twice, once to retry 503 errors on initial API call, and again toretry the whole dance if a 503 is raised during iteration of the results.Closes#228.
…le (#232)Source-Link:googleapis/synthtool@a7ed11ePost-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:6e7328583be8edd3ba8f35311c76a1ecbc823010279ccb6ab46b7a76e25eafccCo-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
🤖 I have created a release \*beep\* \*boop\*---## [2.2.0](https://www.github.com/googleapis/python-datastore/compare/v2.1.6...v2.2.0) (2021-10-08)### Features* add support for Python 3.10 ([#233](https://www.github.com/googleapis/python-datastore/issues/233)) ([f524c40](https://www.github.com/googleapis/python-datastore/commit/f524c40e8251c2b716ea87cd512404f0d6f1b019))---This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
* chore: add py.typed file for PEP 561 compatibility* Update py.typed
* chore: ensure mypy passes* 🦉 Updates from OwlBotSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* chore: flake8 doesn't like lambdas* test: add mypy test scenarioa* 🦉 Updates from OwlBotSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* chore: scope mypy to google.cloud.datastore for now* chore: remove api_core ignores, quiet a mypy error by import rename* fix: drop unneded extra functionAlso, have shim 'make_datastore_api' raise an exception, as it onlygets called if gRPC is disabled, or not installed.Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Tres Seaver <tseaver@palladion.com>
Proxy for 'google.cloud.datastore.entity.Entity'.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
#245)* chore(python): push cloud library docs to staging bucket for Cloud RADSource-Link:googleapis/synthtool@7fd61f8Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:4ee57a76a176ede9087c14330c625a71553cf9c72828b2c0ca12f5338171ba60* fix coverageCo-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
This PR fixes an issue with the `owlbot.py` file which prevented [google/cloud/datastore_v1](https://github.com/googleapis/python-datastore/commits/main/google/cloud/datastore_v1) from being updated. This PR also brings the client up to date with the generated client in googleapis-gen [here](https://github.com/googleapis/googleapis-gen/tree/master/google/datastore).chore: update owlbot.py to properly copy folders from googleapis-genfix(deps): require google-api-core >= 1.28.0docs: list oneofs in docstringfeat: add context manager support in clientfix: add 'dict' annotation type to 'request'fix: add async client to %name_%version/init.pyfeat: support self-signed JWT flow for service accounts feat: Added methods for creating and deleting composite indexes
* chore: update Java and Python dependenciesPiperOrigin-RevId: 408420890Source-Link:googleapis/googleapis@2921f9fSource-Link:googleapis/googleapis-gen@6598ca8Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjU5OGNhOGNiYmY1MjI2NzMzYTA5OWM0NTA2NTE4YTVhZjZmZjc0YyJ9* 🦉 Updates from OwlBotSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.mdCo-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(python): add .github/CODEOWNERS as a templated fileSource-Link:googleapis/synthtool@c5026b3Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:0e18b9475fbeb12d9ad4302283171edebb6baf2dfca1bd215ee3b34ed79d95d7* 🦉 Updates from OwlBotSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* 🦉 Updates from OwlBotSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.mdCo-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Source-Link:googleapis/synthtool@69fda12Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:ae600f36b6bc972b368367b6f83a1d91ec2c82a4a116b383d67d547c56fe6de3Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* ci(python): run lint / unit tests / docs as GH actionsSource-Link:googleapis/synthtool@57be0cdPost-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:ed1f9983d5a935a89fe8085e8bb97d94e41015252c5b6c9771257cf8624367e6* add commit to trigger gh actions* add gh action checks for mypy and doctests* set python version for mypy and doctests* remove doctests GH action as credentials are neededCo-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* fix(deps): move libcst to extras* Update setup.py
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>Co-authored-by: Daniel Sanche <sanche@google.com>
* chore: Update gapic-generator-python to v1.18.5PiperOrigin-RevId: 661268868Source-Link:googleapis/googleapis@f7d214cSource-Link:googleapis/googleapis-gen@79a8411Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzlhODQxMWJiZGIyNWE5ODNmYTNhYWU4YzBlMTQzMjdkZjEyOWY5NCJ9* 🦉 Updates from OwlBot post-processorSeehttps://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>
* fix: Allow protobuf 5.x; require protobuf >=3.20.2* update constraints---------Co-authored-by: Daniel Sanche <sanche@google.com>
* chore(deps): update all dependencies* pin pytest for python 3.7---------Co-authored-by: Daniel Sanche <sanche@google.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Source-Link:googleapis/synthtool@71a7297Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e8dcfd7cbfd8beac3a3ff8d3f3185287ea0625d859168cc80faccfc9a7a00455Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(deps): update all dependencies* 🦉 Updates from OwlBot post-processorSeehttps://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>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
* feat: Support for field update operators in the Datastore API and resolution strategies when there is a conflict at write timePiperOrigin-RevId: 683253625Source-Link:googleapis/googleapis@3effbf2Source-Link:googleapis/googleapis-gen@5dd983cCopy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWRkOTgzYzc2NDE3ZjJhZDg4ZjlkNDc0MzhjNDhjMjdkNWFjMGUyNyJ9* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* chore: Update gapic-generator-python to v1.19.1PiperOrigin-RevId: 684571179Source-Link:googleapis/googleapis@fbdc238Source-Link:googleapis/googleapis-gen@3a2cdcfCopy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2EyY2RjZmI4MGMyZDBmNWVjMGNjNjYzYzJiYWIwYTk0ODYyMjlkMCJ9* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* feat: Add FindNearest API to the stable branchPiperOrigin-RevId: 684905940Source-Link:googleapis/googleapis@2196d48Source-Link:googleapis/googleapis-gen@05df6faCopy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDVkZjZmYTE2YWI5M2JkOWRhMTdiNTZlZGQzNzliNDM5NjNkZTE2NyJ9* 🦉 Updates from OwlBot post-processorSeehttps://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>
* chore(python): update dependencies in .kokoro/docker/docsSource-Link:googleapis/synthtool@59171c8Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:2ed982f884312e4883e01b5ab8af8b6935f0216a5a2d82928d273081fc3be562* Add constraints file for python 3.13---------Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
#584)Source-Link:googleapis/synthtool@de3def6Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:a1c5112b81d645f5bbc4d4bbc99d7dcb5089a52216c0e3fb1203a0eeabadd7d5Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Source-Link:googleapis/synthtool@aa69fb7Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f016446d6e520e5fb552c45b110cba3f217bffdd3d06bdddd076e9e6d13266cfCo-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore: Configure Ruby clients for google-ads-ad_managerPiperOrigin-RevId: 689139590Source-Link:googleapis/googleapis@296f2acSource-Link:googleapis/googleapis-gen@2692736Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjY5MjczNjJlMGFhMTI5MzI1OGZjMjNmZTNjZTgzYzVjMjFkNWZiYiJ9* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* chore: remove body selector from http rulePiperOrigin-RevId: 693215877Source-Link:googleapis/googleapis@bb6b53eSource-Link:googleapis/googleapis-gen@db8b5a9Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGI4YjVhOTM0ODRhZDQ0MDU1YjJiYWNjNGM3Y2Y4N2U5NzBmZTBlZCJ9* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* feat: Add support for opt-in debug loggingfix: Fix typing issue with gRPC metadata when key ends in -binchore: Update gapic-generator-python to v1.21.0PiperOrigin-RevId: 705285820Source-Link:googleapis/googleapis@f9b8b91Source-Link:googleapis/googleapis-gen@ca1e0a1Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2ExZTBhMWU0NzJkNmU2ZjVkZTg4M2E1Y2I1NDcyNGYxMTJjZTM0OCJ9* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* feat: Add REST Interceptors which support reading metadatafeat: Add support for reading selective GAPIC generation methods from service YAMLchore: Update gapic-generator-python to v1.22.0PiperOrigin-RevId: 724026024Source-Link:googleapis/googleapis@ad99638Source-Link:googleapis/googleapis-gen@e291c4dCopy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTI5MWM0ZGQxZDY3MGVkYTE5OTk4ZGU3NmY5NjdlMTYwM2E0ODk5MyJ9* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* chore: Update gapic-generator-python to v1.23.2PiperOrigin-RevId: 732281673Source-Link:googleapis/googleapis@2f37e0aSource-Link:googleapis/googleapis-gen@016b753Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDE2Yjc1MzhiYTVhNzk4ZjJhZTQyM2Q0Y2NkN2Y4MmIwNmNkZjZkMiJ9* 🦉 Updates from OwlBot post-processorSeehttps://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>Co-authored-by: Anthonios Partheniou <partheniou@google.com>Co-authored-by: Kevin Zheng <147537668+gkevinzheng@users.noreply.github.com>
* chore: Update gapic-generator-python to 1.23.6PiperOrigin-RevId: 738170370Source-Link:googleapis/googleapis@3f1e17aSource-Link:googleapis/googleapis-gen@9afd8c3Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWFmZDhjMzNkNGNhZTYxMGI3NWZhNDk5OTI2NGVhOGM4YzY2YjlkMiJ9* 🦉 Updates from OwlBot post-processorSeehttps://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>
Source-Link:googleapis/synthtool@8767740Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:023a21377a2a00008057f99f0118edadc30a19d1636a3fee47189ebec2f3921cCo-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(python): remove CONTRIBUTING.rst from templatesSource-Link:googleapis/synthtool@c96fb11Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:710b70faff81151657d89db6e028c23a1051787598c8276bdd8eef25c92da8ab* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* Remove replacement in owlbot.py---------Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Daniel Sanche <sanche@google.com>
* chore: Update gapic-generator-python to 1.24.0PiperOrigin-RevId: 747419463Source-Link:googleapis/googleapis@340579bSource-Link:googleapis/googleapis-gen@e8997ecCopy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTg5OTdlYzUxMzZlY2I2ZWQ5YTk2OWE0YzJmMTNiM2FiNmExN2MxMiJ9* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* chore: Update gapic-generator-python to 1.24.1PiperOrigin-RevId: 748739072Source-Link:googleapis/googleapis@b947e52Source-Link:googleapis/googleapis-gen@8c5821aCopy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGM1ODIxYWE2NWE5MjFkNTliM2Y3NjUzZDZmMzdjOWM2NzQxMGMyZiJ9* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* chore: Update gapic-generator-python to 1.25.0PiperOrigin-RevId: 755914147Source-Link:googleapis/googleapis@97a83d7Source-Link:googleapis/googleapis-gen@a9977efCopy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTk5NzdlZmVkYzgzNmNjZWNlMWYwMWQ1MjliMDMxNWUxZWZlNTJhZCJ9* 🦉 Updates from OwlBot post-processorSeehttps://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>
This PR adds support for Python 3.14 to the library.Key changes include:- Update to `.github/workflows` files to account for Python runtimesboth 3.14 and 3.8.- Adding Python 3.14 to the test matrix in`.github/workflows/unittest.yml`, etc.- Updating `.github/sync-repo-settings.yaml` to include 3.14 unit testsin required checks.- Update to `.kokoro/presubmit` files to update the system test and`presubmit.cfg`- Adding `testing/constraints-3.14.txt`.- Updates `CONTRIBUTING.rst` to list Python 3.14 as a supported version.- Updates `mypy.ini` to suppress several known type hinting errors intwo files.- Updating `noxfile.py` to include 3.14 sessions.- Updates to `owlbot.py` to include Python 3.14.- Updating `setup.py` to include the Python 3.14 classifier and addconditional dependencies for `grpcio`.---------Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
- [ ] Regenerate this pull request now.fix: Deprecate credentials_file argumentchore: Update gapic-generator-python to 1.28.0PiperOrigin-RevId: 816753840Source-Link:googleapis/googleapis@d06cf27Source-Link:googleapis/googleapis-gen@a524e73Copy-Tag:eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTUyNGU3MzEwODgyYmJiOTliZmUxMzk5YjE4YmVkMzI4OTc5MjExYyJ9BEGIN_NESTED_COMMITchore: Update gapic-generator-python to 1.26.2PiperOrigin-RevId: 802200836Source-Link:googleapis/googleapis@d300b15Source-Link:googleapis/googleapis-gen@a1ff0aeCopy-Tag:eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTFmZjBhZTcyZGRjYjY4YTI1OTIxNWQ4Yzc3NjYxZTJjZGJiOWIwMiJ9END_NESTED_COMMIT---------Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>Co-authored-by: Anthonios Partheniou <partheniou@google.com>
This PR onboards `google-cloud-datastore` to the librarian system.Towardsgoogleapis/librarian#2458---------Co-authored-by: Anthonios Partheniou <partheniou@google.com>
…' into migration.python-datastore.migration.2025-11-24_21-55-24.migrate
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
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.
See#11015.
This PR should be merged with a merge-commit, not a squash-commit, in order to preserve the git history.