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

feat: Fix graph visualization to work with latest spanner-graph-notebook code; also, allow visualization when only some columns are json.#102

Merged
tswast merged 21 commits intomainfrom
graph3
Mar 13, 2025
Merged

feat: Fix graph visualization to work with latest spanner-graph-notebook code; also, allow visualization when only some columns are json.#102
tswast merged 21 commits intomainfrom
graph3

Conversation

@ericfe-google
Copy link
Copy Markdown
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 a review from a team as a code owner March 12, 2025 22:59
@ericfe-google ericfe-google requested review from a team 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.
"spanner-graph-notebook": [
"spanner-graph-notebook >= 1.1.1, <=1.1.1",
"networkx",
"spanner-graph-notebook >= 1.1.3",
Copy link
Copy Markdown
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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