Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Jul 25, 2017

Was part of #3671.

@dhermes dhermes added api: bigtable Issues related to the Bigtable API. api: spanner Issues related to the Spanner API. labels Jul 25, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 25, 2017
_database_admin_api = None
_SET_PROJECT = True # Used by from_service_account_json()

SCOPE = (SPANNER_ADMIN_SCOPE,)

This comment was marked as spam.

@dhermes dhermes added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 25, 2017
@dhermes
Copy link
Contributor Author

dhermes commented Jul 25, 2017

I never actually fixed the unit tests, it's open for anyone who has cycles to tackle right meow 😼

Copy link
Contributor

@tseaver tseaver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bigtable unit tests need to be adjusted to fit the new pattern.

dhermes added 2 commits July 26, 2017 14:11
Also slightly changing the Client constructor so that
it only called `with_scopes()` one time on the credentials
(was previously calling with `SCOPE=None` and then again with the
custom scope for the instance)
@dhermes dhermes force-pushed the spanner-bigtable-simpler branch from 70bdd8e to cfcb455 Compare July 26, 2017 21:12
Also slightly changing the `copy()` method so that it
just passes the same credentials instance.

Also updating `nox` config to allow session `posargs`.
@dhermes dhermes removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 26, 2017
@dhermes
Copy link
Contributor Author

dhermes commented Jul 26, 2017

OK @jonparrott @tseaver @lukesneeringer this is review-able now

@dhermes dhermes force-pushed the spanner-bigtable-simpler branch from 31077d9 to 56b33e5 Compare July 26, 2017 21:37
@dhermes
Copy link
Contributor Author

dhermes commented Jul 26, 2017

Docs breakage in build is caused by #3512

@dhermes dhermes merged commit 9452572 into googleapis:master Jul 26, 2017
@dhermes dhermes deleted the spanner-bigtable-simpler branch July 26, 2017 21:43
landrito pushed a commit to landrito/google-cloud-python that referenced this pull request Aug 21, 2017
…s#3672)

* Simplifying Client constructor's for Bigtable and Spanner.

* Fixing Bigtable unit tests after Client re-factor.

Also slightly changing the Client constructor so that
it only called `with_scopes()` one time on the credentials
(was previously calling with `SCOPE=None` and then again with the
custom scope for the instance)

* Fixing Spanner unit tests after Client re-factor.

Also slightly changing the `copy()` method so that it
just passes the same credentials instance.

Also updating `nox` config to allow session `posargs`.

* Removing unused imports after Bigtable/Spanner Client re-factor.
landrito pushed a commit to landrito/google-cloud-python that referenced this pull request Aug 22, 2017
…s#3672)

* Simplifying Client constructor's for Bigtable and Spanner.

* Fixing Bigtable unit tests after Client re-factor.

Also slightly changing the Client constructor so that
it only called `with_scopes()` one time on the credentials
(was previously calling with `SCOPE=None` and then again with the
custom scope for the instance)

* Fixing Spanner unit tests after Client re-factor.

Also slightly changing the `copy()` method so that it
just passes the same credentials instance.

Also updating `nox` config to allow session `posargs`.

* Removing unused imports after Bigtable/Spanner Client re-factor.
landrito pushed a commit to landrito/google-cloud-python that referenced this pull request Aug 22, 2017
…s#3672)

* Simplifying Client constructor's for Bigtable and Spanner.

* Fixing Bigtable unit tests after Client re-factor.

Also slightly changing the Client constructor so that
it only called `with_scopes()` one time on the credentials
(was previously calling with `SCOPE=None` and then again with the
custom scope for the instance)

* Fixing Spanner unit tests after Client re-factor.

Also slightly changing the `copy()` method so that it
just passes the same credentials instance.

Also updating `nox` config to allow session `posargs`.

* Removing unused imports after Bigtable/Spanner Client re-factor.
parthea pushed a commit that referenced this pull request Nov 22, 2025
* Simplifying Client constructor's for Bigtable and Spanner.

* Fixing Bigtable unit tests after Client re-factor.

Also slightly changing the Client constructor so that
it only called `with_scopes()` one time on the credentials
(was previously calling with `SCOPE=None` and then again with the
custom scope for the instance)

* Fixing Spanner unit tests after Client re-factor.

Also slightly changing the `copy()` method so that it
just passes the same credentials instance.

Also updating `nox` config to allow session `posargs`.

* Removing unused imports after Bigtable/Spanner Client re-factor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API. api: spanner Issues related to the Spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants