From 4adf749e8219cc76e5b31a9405ccd0f79689df5c Mon Sep 17 00:00:00 2001
From: Google Colaboratory Team
Date: Tue, 7 Apr 2026 11:55:49 -0700
Subject: [PATCH] Automatically register the `%%bqsql` magics.
PiperOrigin-RevId: 896017753
---
google/colab/_import_magics.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/google/colab/_import_magics.py b/google/colab/_import_magics.py
index b0b89897..050dd097 100644
--- a/google/colab/_import_magics.py
+++ b/google/colab/_import_magics.py
@@ -96,5 +96,6 @@ def impl(line, cell, **kwargs):
def _declare_colabx_magics():
if get_ipython():
+ _declare_cell_magic('bqsql', 'bigframes', _load_extension)
_declare_cell_magic('bigquery', 'bigquery_magics', _load_extension)
_declare_cell_magic('spanner_graph', 'spanner_graphs', _load_extension)