Skip to content

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

Merged
merged 21 commits into from
Mar 13, 2025

Conversation

ericfe-google
Copy link
Contributor

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:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigquery Issues related to the googleapis/python-bigquery-magics API. labels Mar 12, 2025
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: l Pull request size is large. labels Mar 12, 2025
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Mar 12, 2025
@ericfe-google ericfe-google marked this pull request as ready for review March 12, 2025 22:59
@ericfe-google ericfe-google requested review from a team as code owners March 12, 2025 22:59
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",
Copy link
Collaborator

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

@tswast tswast merged commit c33297c into main Mar 13, 2025
25 checks passed
@tswast tswast deleted the graph3 branch March 13, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-magics API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants