Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

crwilcox
Copy link
Contributor

No description provided.

@crwilcox crwilcox added the api: spanner Issues related to the Spanner API. label Dec 10, 2018
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 10, 2018
@crwilcox
Copy link
Contributor Author

crwilcox commented Dec 10, 2018

The documentation at https://gcloud-python.readthedocs.io/en/stable/spanner/session-api.html#google.cloud.spanner.pool.PingingPool (not this clients but reasonable enough) states you can access it this way but you cannot as it was not included.

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.

We should probably be adding the other pool classes, too (FixedSizePool is there already):

  • AbstractSessionPool (users who write their own pool implementations need it.
  • BurstyPool
  • TransactionPingingPool

@crwilcox
Copy link
Contributor Author

Current list of impls is below. I can add TransactionPingingPool as well


__all__ = (
    "__version__",
    "AbstractSessionPool",
    "BurstyPool",
    "Client",
    "COMMIT_TIMESTAMP",
    "enums",
    "FixedSizePool",
    "KeyRange",
    "KeySet",
    "param_types",
    "PingingPool",
    "types",
)

@crwilcox crwilcox force-pushed the add-pingingpool-to-spanner-alias branch from aa6c2d4 to 7aff218 Compare December 10, 2018 20:21
@crwilcox crwilcox merged commit a43f885 into googleapis:master Dec 10, 2018
@crwilcox crwilcox deleted the add-pingingpool-to-spanner-alias branch December 10, 2018 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants