Skip to content

Commit 67d34ec

Browse files
Update FebrlExample notebook to add DOCS_DIR construction (#1316)
Update FebrlExample notebook to add DOCS_DIR construction.
1 parent 068960c commit 67d34ec

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

examples/databricks/FebrlExample.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"outputs": [],
4141
"source": [
4242
"zinggDir = \"/models\"\n",
43-
"modelId = \"zinggTestApr22\""
43+
"modelId = \"zinggTestApr28\""
4444
]
4545
},
4646
{
@@ -204,7 +204,7 @@
204204
"outputs": [],
205205
"source": [
206206
"\n",
207-
"outputTable = \"zingg_catalog.output.febrlOutput23Apr\"\n",
207+
"outputTable = \"zingg_catalog.output.febrlOutput28Apr\"\n",
208208
"outputPipe = UCPipe(\"resultFebrl\", outputTable)\n",
209209
"args.setOutput(outputPipe)"
210210
]
@@ -630,11 +630,12 @@
630630
},
631631
"outputs": [],
632632
"source": [
633+
"\n",
633634
"options = ClientOptions([ClientOptions.PHASE,\"generateDocs\"])\n",
634635
"#Zingg execution for the given phase\n",
635636
"zingg = ZinggWithSpark(args, options)\n",
636637
"zingg.initAndExecute()\n",
637-
"\n",
638+
"DOCS_DIR = zinggDir + \"/\" + modelId + \"/docs/\"\n",
638639
"dbutils.fs.ls('file:'+DOCS_DIR)\n",
639640
"\n",
640641
"# see the labels\n",
@@ -677,7 +678,7 @@
677678
},
678679
"pythonIndentUnit": 4
679680
},
680-
"notebookName": "FebrlExample",
681+
"notebookName": "DBOSS",
681682
"widgets": {}
682683
},
683684
"language_info": {

0 commit comments

Comments
 (0)