Skip to content
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

Add 'eventual' flag to 'Connection.lookup()' / 'Connection.run_query()'. #449

Merged
merged 4 commits into from
Dec 19, 2014
Merged

Add 'eventual' flag to 'Connection.lookup()' / 'Connection.run_query()'. #449

merged 4 commits into from
Dec 19, 2014

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Dec 19, 2014

Allows selecting EVENTUAL consistency, rather than the STRONG default.

Fixes #305.

Allows selecting EVENTUAL consistency, rather than the STRONG default.

Fixes #305.
@tseaver tseaver changed the title Add 'eventual' flag to 'Connection.lookup()'/'Connection.run_query()'. Add 'eventual' flag to 'Connection.lookup()' / 'Connection.run_query()'. Dec 19, 2014
@tseaver tseaver added api: datastore Issues related to the Datastore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Dec 19, 2014
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling a41ff58 on tseaver:305-lookup-run_query-eventual into 21e5f45 on GoogleCloudPlatform:master.

opts = lookup_request.read_options
ro_enum = datastore_pb.ReadOptions.ReadConsistency
if eventual:
opts.read_consistency = ro_enum.Value('EVENTUAL')

This comment was marked as spam.

This comment was marked as spam.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling a2a11bd on tseaver:305-lookup-run_query-eventual into 21e5f45 on GoogleCloudPlatform:master.

@tseaver
Copy link
Contributor Author

tseaver commented Dec 19, 2014

@dhermes PTAL: I think I addressed all your concerns.

@dhermes
Copy link
Contributor

dhermes commented Dec 19, 2014

Code checks out, still need to check the tests.

@dhermes
Copy link
Contributor

dhermes commented Dec 19, 2014

LGTM

tseaver added a commit that referenced this pull request Dec 19, 2014
Add 'eventual' flag to 'Connection.lookup()' / 'Connection.run_query()'.
@tseaver tseaver merged commit 5723288 into googleapis:master Dec 19, 2014
@tseaver tseaver deleted the 305-lookup-run_query-eventual branch December 19, 2014 20:09
@tseaver tseaver restored the 305-lookup-run_query-eventual branch December 19, 2014 20:51
@tseaver tseaver deleted the 305-lookup-run_query-eventual branch December 19, 2014 20:51
tseaver added a commit that referenced this pull request Dec 19, 2014
Fix regression test failure introduced in PR #449.
parthea pushed a commit that referenced this pull request Jun 4, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Jun 4, 2023
…inding's list of attributes (#449)

* feat: add cloud_dlp_inspection and cloud_dlp_data_profile fields to finding's list of attributes
docs: miscellaneous style improvements

PiperOrigin-RevId: 525798516

Source-Link: googleapis/googleapis@36a885f

Source-Link: googleapis/googleapis-gen@c47a1b7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzQ3YTFiNzk5MjZlYjRiOWZjNDdmNDQ1YTNhODk3MTMxNDA3NWRlNyJ9

* 🦉 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
- [x] Regenerate this pull request now.

PiperOrigin-RevId: 417030293

Source-Link: googleapis/googleapis@ebef8e6

Source-Link: googleapis/googleapis-gen@1395126
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTM5NTEyNjhiMDA5ZDk4ZDgyMzU1Y2NkOTY0N2Y0MzUwNTkwNjA5ZCJ9

feat(v2): added filter in list documentations request 
feat(v2): added option to import custom metadata from Google Cloud Storage in reload document request 
feat(v2): added option to apply partial update to the smart messaging allowlist in reload document request 
feat(v2): added filter in list knowledge bases request
vchudnov-g pushed a commit that referenced this pull request Sep 20, 2023
🤖 I have created a release *beep* *boop*
---


## [2.11.0](googleapis/python-dialogflow@v2.10.0...v2.11.0) (2022-01-13)


### Features

* support document metadata filter in article suggestion ([#442](googleapis/python-dialogflow#442)) ([6f615f9](googleapis/python-dialogflow@6f615f9))
* **v2:** added export documentation method ([#449](googleapis/python-dialogflow#449)) ([a43d1e9](googleapis/python-dialogflow@a43d1e9))
* **v2:** added filter in list documentations request ([a43d1e9](googleapis/python-dialogflow@a43d1e9))
* **v2:** added filter in list knowledge bases request ([a43d1e9](googleapis/python-dialogflow@a43d1e9))
* **v2:** added option to apply partial update to the smart messaging allowlist in reload document request ([a43d1e9](googleapis/python-dialogflow@a43d1e9))
* **v2:** added option to import custom metadata from Google Cloud Storage in reload document request ([a43d1e9](googleapis/python-dialogflow@a43d1e9))
* **v2beta1:** add support for knowledge_base in knowledge operation metadata ([0f60629](googleapis/python-dialogflow@0f60629))
* **v2beta1:** added option to configure the number of sentences in the suggestion context ([#453](googleapis/python-dialogflow#453)) ([e48ea00](googleapis/python-dialogflow@e48ea00))
* **v2beta1:** removed OPTIONAL for speech model variant ([#448](googleapis/python-dialogflow#448)) ([0f60629](googleapis/python-dialogflow@0f60629))
* **v2:** removed OPTIONAL for speech model variant ([#447](googleapis/python-dialogflow#447)) ([56efd10](googleapis/python-dialogflow@56efd10))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
parthea pushed a commit that referenced this pull request Sep 22, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea added a commit that referenced this pull request Sep 22, 2023
* chore(bazel): update protobuf to v3.21.3

chore(bazel): update gax-java to 2.18.4

PiperOrigin-RevId: 463115700

Source-Link: googleapis/googleapis@52130a9

Source-Link: googleapis/googleapis-gen@6a4d9d9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmE0ZDlkOWJiM2FmYjIwYjBmNWZhNGY1ZDlmNjc0MGIxZDBlYjE5YSJ9

* 🦉 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>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Sep 22, 2023
parthea pushed a commit that referenced this pull request Sep 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 Oct 21, 2023
Source-Link: googleapis/synthtool@050953d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:65e656411895bff71cffcae97246966460160028f253c2e45b7a25d805a5b142

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReadOptions support for 'Connection.lookup', 'Connection.run_query'
3 participants