Drop support for Python 2.6.#2051
Merged
Merged
Conversation
Contributor
|
I'm |
Closes #1607.
Contributor
Author
|
@dhermes Should be addressed in subsequent commits. |
'gcloud._helpers._total_seconds' worked around the fact that 'datetime.timedelta.total_seconds' was not added until Python 2.7.
Contributor
Author
|
Amended to fix the lint issue. |
| super(GCloudError, self).__init__() | ||
| # suppress deprecation warning under 2.6.x | ||
| super(GCloudError, self).__init__(message) | ||
| self.message = message |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Contributor
|
Only question left: do we want to add a warning on import? |
Contributor
Author
I think not on import: maybe on installation. @daspecster, @jgeewax WDYT? |
Contributor
|
OK let's just merge (LGTM) and file an issue to follow up / decide if we should warn on either import or installation. |
Contributor
Author
|
See also #2056. |
Merged
parthea
added a commit
that referenced
this pull request
Nov 24, 2025
Co-authored-by: Victor Chudnovsky <vchudnov@google.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea
pushed a commit
that referenced
this pull request
Mar 6, 2026
) * feat: support setting max_stream_count when fetching query result Allow user to set max_stream_count when fetching result using BigQuery Storage API with RowIterator's incremental methods: * to_arrow_iterable * to_dataframe_iterable * docs: update docs about max_stream_count for ordered query * fix: add max_stream_count params to _EmptyRowIterator's methods * test: add tests for RowIterator's max_stream_count parameter * docs: add notes on valid max_stream_count range in docstring * use a different way to iterate result --------- Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
parthea
pushed a commit
that referenced
this pull request
Apr 1, 2026
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
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.
Closes #1607.