Skip to content

Commit

Permalink
Add PingingPool and TransactionPingingPool to toplevel module (#6886)
Browse files Browse the repository at this point in the history
* Add PingingPool to toplevel spanner module

* Add TransactionPingingPool to spanner module

* Add PingingPools to spanner_v1 module
  • Loading branch information
crwilcox authored Dec 10, 2018
1 parent f3bb45e commit a43f885
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
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

0 comments on commit a43f885

Please sign in to comment.