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

Spanner: Add PingingPool to toplevel spanner module #6886

Merged
merged 3 commits into from
Dec 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions spanner/google/cloud/spanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
from google.cloud.spanner_v1 import KeyRange
from google.cloud.spanner_v1 import KeySet
from google.cloud.spanner_v1 import param_types
from google.cloud.spanner_v1 import PingingPool
from google.cloud.spanner_v1 import TransactionPingingPool
from google.cloud.spanner_v1 import types


Expand All @@ -40,5 +42,7 @@
"KeyRange",
"KeySet",
"param_types",
"PingingPool",
"TransactionPingingPool",
"types",
)
4 changes: 4 additions & 0 deletions spanner/google/cloud/spanner_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
from google.cloud.spanner_v1.pool import AbstractSessionPool
from google.cloud.spanner_v1.pool import BurstyPool
from google.cloud.spanner_v1.pool import FixedSizePool
from google.cloud.spanner_v1.pool import PingingPool
from google.cloud.spanner_v1.pool import TransactionPingingPool


COMMIT_TIMESTAMP = "spanner.commit_timestamp()"
Expand All @@ -51,6 +53,8 @@
"AbstractSessionPool",
"BurstyPool",
"FixedSizePool",
"PingingPool",
"TransactionPingingPool",
# google.cloud.spanner_v1.gapic
"enums",
# local
Expand Down