You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by ev...@apache.org on 2017/03/29 16:52:02 UTC
[38/50] [abbrv] incubator-spot git commit: Bug fixing for Proxy Edge
notebook
Bug fixing for Proxy Edge notebook
Project: http://git-wip-us.apache.org/repos/asf/incubator-spot/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spot/commit/b78e1dfb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spot/tree/b78e1dfb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spot/diff/b78e1dfb
Branch: refs/heads/SPOT-35_graphql_api
Commit: b78e1dfbf53b9f362addd5363e8c648b8e183f66
Parents: c1be09e
Author: LedaLima <le...@apache.org>
Authored: Thu Mar 9 17:58:03 2017 -0600
Committer: Diego Ortiz Huerta <di...@intel.com>
Committed: Wed Mar 15 11:51:22 2017 -0700
----------------------------------------------------------------------
.../Edge_Investigation_master.ipynb | 25 +++++++++++++++-----
1 file changed, 19 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/b78e1dfb/spot-oa/oa/proxy/ipynb_templates/Edge_Investigation_master.ipynb
----------------------------------------------------------------------
diff --git a/spot-oa/oa/proxy/ipynb_templates/Edge_Investigation_master.ipynb b/spot-oa/oa/proxy/ipynb_templates/Edge_Investigation_master.ipynb
index b173fe8..e2a89c2 100644
--- a/spot-oa/oa/proxy/ipynb_templates/Edge_Investigation_master.ipynb
+++ b/spot-oa/oa/proxy/ipynb_templates/Edge_Investigation_master.ipynb
@@ -9,7 +9,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 4,
"metadata": {
"collapsed": false
},
@@ -29,11 +29,24 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 5,
"metadata": {
"collapsed": false
},
- "outputs": [],
+ "outputs": [
+ {
+ "data": {
+ "application/javascript": [
+ "$('.widget-area > .widget-subarea > *').remove();"
+ ],
+ "text/plain": [
+ "<IPython.core.display.Javascript object>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
"source": [
"try:\n",
" import ipywidgets as widgets # For jupyter/ipython >= 1.4\n",
@@ -102,7 +115,7 @@
" \n",
" scored = []\n",
" for item in score_values:\n",
- " scored.append(urllib.quote_plus(item[0]))\n",
+ " scored.append(urllib.quote_plus(item[0]))\n",
" \n",
" if not 'errors' in response: \n",
" for row in response['data']['proxy']['suspicious']:\n",
@@ -128,7 +141,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 6,
"metadata": {
"collapsed": false
},
@@ -219,4 +232,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
-}
\ No newline at end of file
+}