summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authortmartins <thigm85@gmail.com>2020-08-20 11:22:25 +0200
committertmartins <thigm85@gmail.com>2020-08-20 11:22:25 +0200
commit9a374d15702d6fc909a9725ee2b81ba1b3df008b (patch)
treeedda2596d18067d8982e1194f8dce34ce9c48451 /python
parentbfa1fe36e66cc53f54c13ac1b3f99e20ba1999f2 (diff)
update notebook
Diffstat (limited to 'python')
-rw-r--r--python/vespa/notebooks/create-and-deploy-vespa.ipynb11
1 files changed, 10 insertions, 1 deletions
diff --git a/python/vespa/notebooks/create-and-deploy-vespa.ipynb b/python/vespa/notebooks/create-and-deploy-vespa.ipynb
index 2223765c314..e899696794f 100644
--- a/python/vespa/notebooks/create-and-deploy-vespa.ipynb
+++ b/python/vespa/notebooks/create-and-deploy-vespa.ipynb
@@ -117,7 +117,7 @@
"metadata": {},
"outputs": [],
"source": [
- "app.feed_data_point(\n",
+ "response = app.feed_data_point(\n",
" schema = \"msmarco\", \n",
" data_id = 1, \n",
" fields = {\n",
@@ -129,6 +129,15 @@
]
},
{
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "response.json()"
+ ]
+ },
+ {
"cell_type": "markdown",
"metadata": {},
"source": [