Skip to content

Adding umbrella datastore.set_defaults(). - #525

Merged
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:umbrella-set-defaults
Jan 12, 2015
Merged

Adding umbrella datastore.set_defaults().#525
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:umbrella-set-defaults

Conversation

@dhermes

Copy link
Copy Markdown
Contributor

This will be the most common auth / setup path for typical users.

It may make sense at some point to create a config class in datastore/_implicit_environ.py to allow lots of config at once / swappable setting for multi-tenant applications.

This will be the most common auth / setup path for typical users.
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling 8df8596 on dhermes:umbrella-set-defaults into 0525530 on GoogleCloudPlatform:master.

@dhermesdhermes added the api: datastore Issues related to the Datastore API. label Jan 9, 2015
@tseaver

Copy link
Copy Markdown
Contributor

Incremental change LGTM. I worry a little that we have gradually hidden from view how to set up the environment in non-magic cases to allow the defaults to Just Work(TM).

@dhermes

Copy link
Copy Markdown
ContributorAuthor

Yes it's a delicate balance to strike and by no means do I think I have it fully figured out.

I want to make it easy for the typical user, which will have only one credential and one dataset ID to worry about and won't want to deal with the rest of the mess that comes with.

dhermes added a commit that referenced this pull request Jan 12, 2015
Adding umbrella datastore.set_defaults().
@dhermes
dhermes merged commit b7de953 into googleapis:masterJan 12, 2015
@dhermes
dhermes deleted the umbrella-set-defaults branch January 12, 2015 21:23
parthea pushed a commit that referenced this pull request Aug 15, 2023
)
* feat: added include_bigquery_export_settings to ExportAgentRequest
feat: added session_ttl to SessionProto
PiperOrigin-RevId: 541038902
Source-Link: googleapis/googleapis@f472565
Source-Link: googleapis/googleapis-gen@a91bf45
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTkxYmY0NTI3ZGQ4NmE4NjhhODIyMGIyZDgxNTVlZWFlYzU5NzcwOCJ9
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat: added include_bigquery_export_settings to ExportAgentRequest
feat: added session_ttl to SessionProto
PiperOrigin-RevId: 541070954
Source-Link: googleapis/googleapis@439d4ee
Source-Link: googleapis/googleapis-gen@ad5c4d3
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWQ1YzRkM2YyNmJmOWJkMTY4ZTg2MzQyOGRkYTBiODgyOTM5MTYyOSJ9
* 🦉 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>
vchudnov-g pushed a commit that referenced this pull request Sep 20, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea pushed a commit that referenced this pull request Sep 22, 2023
* chore: Update gapic-generator-python to v1.8.5
PiperOrigin-RevId: 511892190
Source-Link: googleapis/googleapis@a45d9c0
Source-Link: googleapis/googleapis-gen@1907294
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTkwNzI5NGIxZDgzNjVlYTI0ZjhjNWYyZTA1OWE2NDEyNGM0ZWQzYiJ9
* 🦉 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 Oct 21, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Oct 22, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Aug 21, 2025
parthea pushed a commit that referenced this pull request Sep 16, 2025
parthea added a commit that referenced this pull request Sep 18, 2025
* chore(deps): update dependency pyarrow to v8
* fix(deps): allow pyarrow v8
* chore(deps): update dependency google-cloud-bigquery to v3.1.0
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea added a commit that referenced this pull request Nov 24, 2025
parthea added a commit that referenced this pull request Nov 24, 2025
* chore: fix minor typos
* protobf -> protobuf
parthea pushed a commit that referenced this pull request Nov 24, 2025
Fixes#518
Unpin pytest-asyncio version.
Adjust the event_loop fixture to make it compatible with pytest-asyncio>=0.17
Use the @pytest_asyncio.fixture decorator for apropriately.
parthea pushed a commit that referenced this pull request Nov 24, 2025
Source-Link: googleapis/synthtool@993985f
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:1894490910e891a385484514b22eb5133578897eb5b3c380e6d8ad475c6647cd
parthea pushed a commit that referenced this pull request Nov 24, 2025
…528)
The emulator is different enough from the real Datastore to require some
special handling.
Fixes#525
parthea pushed a commit that referenced this pull request Nov 25, 2025
Source-Link: googleapis/synthtool@993985f
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:1894490910e891a385484514b22eb5133578897eb5b3c380e6d8ad475c6647cd
parthea pushed a commit that referenced this pull request Nov 26, 2025
* updated CHANGELOG.md [ci skip]
* updated setup.cfg [ci skip]
* updated setup.py
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 6, 2026
parthea pushed a commit that referenced this pull request Mar 9, 2026
parthea pushed a commit that referenced this pull request Mar 9, 2026
* tests: bump instance operation timeout to 120 seconds
Toward #524.
* tests: bump instance operation timeout to 240 seconds
Likewise for samples instance creation.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: datastoreIssues related to the Datastore API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@dhermes@coveralls@tseaver