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

time.sleep(20)?! #369

Open
DustinReagan opened this issue Jan 9, 2025 · 1 comment
Open

time.sleep(20)?! #369

DustinReagan opened this issue Jan 9, 2025 · 1 comment

Comments

@DustinReagan
Copy link

General Question

Is there truly no way to query whether a space or schema are ready? You must use a time.sleep(20) (per the example: https://github.com/vesoft-inc/nebula-python/blob/master/example/get_started.ipynb)? This seems like an amateur hack...

@wey-gu
Copy link
Contributor

wey-gu commented Jan 10, 2025

General Question

Is there truly no way to query whether a space or schema are ready? You must use a time.sleep(20) (per the example: https://github.com/vesoft-inc/nebula-python/blob/master/example/get_started.ipynb)? This seems like an amateur hack...

Sorry!

We could use backoff approaches with execute show create space/show create tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants