Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 23e9e21

Browse files
authored
Fix "%%bigquery schema" issue -- the command generates nothing in output. (#119)
1 parent 94c7313 commit 23e9e21

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

datalab/bigquery/commands/_bigquery.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,14 @@ def _repr_html_table_schema(schema):
10091009
_HTML_TEMPLATE = """
10101010
<div class="bqsv" id="%s"></div>
10111011
<script>
1012+
require.config({
1013+
map: {
1014+
'*': {
1015+
datalab: 'nbextensions/gcpdatalab'
1016+
}
1017+
},
1018+
});
1019+
10121020
require(['datalab/bigquery', 'datalab/element!%s',
10131021
'datalab/style!/nbextensions/gcpdatalab/bigquery.css'],
10141022
function(bq, dom) {

0 commit comments

Comments
 (0)