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

Fix "%%bigquery schema" issue -- the command generates nothing in output #119

Merged
merged 1 commit into from
Jan 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions datalab/bigquery/commands/_bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,14 @@ def _repr_html_table_schema(schema):
_HTML_TEMPLATE = """
<div class="bqsv" id="%s"></div>
<script>
require.config({
map: {
'*': {
datalab: 'nbextensions/gcpdatalab'
}
},
});

require(['datalab/bigquery', 'datalab/element!%s',
'datalab/style!/nbextensions/gcpdatalab/bigquery.css'],
function(bq, dom) {
Expand Down