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

Select API helper based on presence of grpcio + optional environment marker by tseaver · Pull Request #1816 · googleapis/google-cloud-python · GitHub

Select API helper based on presence of grpcio + optional environment marker - #1816

Merged
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:pubsub-optional_grpc_publisher_api_impl
Jun 14, 2016
Merged

Select API helper based on presence of grpcio + optional environment marker#1816
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:pubsub-optional_grpc_publisher_api_impl

Conversation

tseaver commented May 23, 2016

Copy link
Copy Markdown
Contributor

Not yet ready to merge, as the system tests will break until new versions of grpcio and google-gax-pubusb-v1 are released (see #1814).

@dhermes PTAL at the overall approach to choosing gRPC vs. JSON-over-HTTP.

tseaver added do not merge Indicates a pull request not ready for merge, due to either quality or timing. api: pubsub Issues related to the Pub/Sub API. labels May 23, 2016
googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 23, 2016

dhermes commented May 23, 2016

Copy link
Copy Markdown
Contributor

I'm fine with the overall approach. As usual, I'm anti-"lazy loading approach". I'd also like to see us try to unify the APIs that use gRPC a little bit (doesn't need to happen here, just want to keep an eye on it).

If present, prefer the GAX helper, but allow disabling it via an
environment marker.
tseaver removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jun 13, 2016

tseaver commented Jun 13, 2016

Copy link
Copy Markdown
Contributor Author

Issue #1857 tracks the question of lazy-loading the API helpers.

tseaver commented Jun 13, 2016

Copy link
Copy Markdown
Contributor Author

@daspecster PTAL

daspecster mentioned this pull request Jun 13, 2016
7 tasks

Copy link
Copy Markdown
Contributor

@tseaver LGTM!

tseaver merged commit 1ab2169 into googleapis:master Jun 14, 2016
tseaver deleted the pubsub-optional_grpc_publisher_api_impl branch June 14, 2016 00:50
parthea added a commit that referenced this pull request Nov 24, 2025
Co-authored-by: omair <omairn@google.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea pushed a commit that referenced this pull request Nov 26, 2025
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Apr 1, 2026
* Refactor: Remove attach_logprobs parameter from AI operations

This commit removes the `attach_logprobs` parameter from the `filter`, `map`, `classify`, and `join` methods within the `AIAccessor` class in `bigframes/operations/ai.py`.

The associated logic for calculating and attaching the 'logprob' column has also been removed from the `map` method.

System tests in `tests/system/large/operations/test_ai.py` that specifically tested the `attach_logprobs` functionality have been updated by:
- Removing the `attach_logprobs=True` argument from method calls.
- Removing assertions for the 'logprob' column.
- Renaming the test methods to reflect their updated scope (e.g., `test_filter_attach_logprob` to `test_filter_functionality_formerly_attach_logprob`).

The small system tests and experimental notebooks were not affected as they did not utilize this parameter.

* polish tests

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@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: pubsub Issues related to the Pub/Sub 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