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

Commit 4ad1b71

Browse files
committed
Fix colab path
1 parent cb872fa commit 4ad1b71

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bigquery_magics/bigquery.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,9 @@ def _handle_result(result, args):
633633

634634

635635
def _colab_query_callback(query: str, params: str):
636+
query_results = json.loads(graph_server.graph_server.query_result.to_json())
636637
return IPython.core.display.JSON(
637-
graph_server.convert_graph_data(query_results=json.loads(params))
638+
graph_server.convert_graph_data(query_results=query_results)
638639
)
639640

640641

0 commit comments

Comments
 (0)