-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Fix graph visualization to work with latest spanner-graph-notebook code; also, allow visualization when only some columns are json. #102
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
Conversation
…lso, add a test for the multi-column case.
…ses, but still show them in the tabular view, and don't block visualizing remaining columns
The mock query result must contain valid json so that the visualizer attempts to get launched, in order for the code path we're trying to test to get reached.
Problem is that, even though the port is not used in colab mode, the javascript still throws an error if it's undefined.
@@ -57,8 +57,7 @@ | |||
"bigframes": ["bigframes >= 1.17.0"], | |||
"geopandas": ["geopandas >= 1.0.1"], | |||
"spanner-graph-notebook": [ | |||
"spanner-graph-notebook >= 1.1.1, <=1.1.1", | |||
"networkx", | |||
"spanner-graph-notebook >= 1.1.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we put an upper bound on this? Or are all the APIs we're using now pretty stable?
If need be, I'd be OK putting an upper bound if/when it becomes a problem. Ideally we'd install the spanner-graph-notebook package from the GitHub repo here in the prerelease_deps session https://github.com/googleapis/python-bigquery-magics/blob/main/noxfile.py#L431 similar to what we do here: https://github.com/googleapis/python-bigquery-pandas/blob/7bac1c7439dcdce09edac6461a5127321451daee/noxfile.py#L345-L351
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕