Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Wait for database creation to succeed.#4

Merged
lgruen merged 1 commit into
cloudspannerecosystem:masterfrom
lgruen:master
Jan 20, 2020
Merged

Wait for database creation to succeed.#4
lgruen merged 1 commit into
cloudspannerecosystem:masterfrom
lgruen:master

Conversation

@lgruen

@lgruen lgruen commented Jan 19, 2020

Copy link
Copy Markdown

No description provided.

@googlebot googlebot added the cla: yes CLA signed label Jan 19, 2020
@lgruen lgruen requested a review from larkee January 19, 2020 23:45

@larkee larkee left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Minor nit for readability purposes would be to assign the operation and then call result() on it:

op = database.create()
op.result()  # Wait for operation to complete

But functionally this should work fine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes CLA signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants