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

Add wait_for_table flag to getTable() #1619

Merged
merged 1 commit into from
Nov 21, 2021
Merged

Add wait_for_table flag to getTable() #1619

merged 1 commit into from
Nov 21, 2021

Conversation

texodus
Copy link
Member

@texodus texodus commented Nov 21, 2021

Adds optional parameter wait_for_table to <perspective-viewer>'s getTable() method, which determines whether this async call should await the table or fail immediately if it is not present. This behavior is depended on by the CSV JupyterLab renderer, and while this should really be fixed by not depending on exception logic, it is still handy to not need external state to determine whether a <perspective-viewer> is in "loaded" state or not.

Fixes #1612

@texodus texodus merged commit 254baea into master Nov 21, 2021
@texodus texodus deleted the fix-jupyter-csv branch November 21, 2021 06:54
@texodus texodus added the bug Concrete, reproducible bugs label Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JupyterLab CSV widget not working anymore
1 participant