Skip to content

Commit 50f64b6

Browse files
committed
remove credentials from gis login
1 parent ab73982 commit 50f64b6

File tree

1 file changed

+8
-21
lines changed

1 file changed

+8
-21
lines changed

samples/04_gis_analysts_data_scientists/finding_suitable_spots_for_AED_devices_using_raster_analytics.ipynb

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -56,24 +56,11 @@
5656
},
5757
{
5858
"cell_type": "code",
59-
"execution_count": 3,
59+
"execution_count": null,
6060
"metadata": {},
61-
"outputs": [
62-
{
63-
"name": "stderr",
64-
"output_type": "stream",
65-
"text": [
66-
"Setting `verify_cert` to False is a security risk, use at your own risk.\n"
67-
]
68-
}
69-
],
61+
"outputs": [],
7062
"source": [
71-
"gis = GIS(\n",
72-
" url='https://pythonapi.playground.esri.com/portal', \n",
73-
" username='arcgis_python', \n",
74-
" password='amazing_arcgis_123',\n",
75-
" verify_cert=False\n",
76-
")"
63+
"gis = GIS(profile=\"your_enterprise_profile\")"
7764
]
7865
},
7966
{
@@ -103,7 +90,7 @@
10390
" </a>\n",
10491
" <br/>OHCA in Pittsburgh<br/><img src='https://pythonapi.playground.esri.com/portal/home/js/jsapi/esri/css/images/item_type_icons/featureshosted16.png' style=\"vertical-align:middle;\" width=16 height=16>Feature Layer Collection by api_data_owner\n",
10592
" <br/>Last Modified: December 19, 2023\n",
106-
" <br/>0 comments, 20 views\n",
93+
" <br/>0 comments, 21 views\n",
10794
" </div>\n",
10895
" </div>\n",
10996
" "
@@ -638,7 +625,7 @@
638625
},
639626
{
640627
"cell_type": "code",
641-
"execution_count": 12,
628+
"execution_count": 6,
642629
"metadata": {},
643630
"outputs": [],
644631
"source": [
@@ -718,7 +705,7 @@
718705
},
719706
{
720707
"cell_type": "code",
721-
"execution_count": 48,
708+
"execution_count": 7,
722709
"metadata": {},
723710
"outputs": [
724711
{
@@ -893,7 +880,7 @@
893880
"9 {\"x\": -79.99187831499995, \"y\": 40.438126975000... "
894881
]
895882
},
896-
"execution_count": 48,
883+
"execution_count": 7,
897884
"metadata": {},
898885
"output_type": "execute_result"
899886
}
@@ -913,7 +900,7 @@
913900
},
914901
{
915902
"cell_type": "code",
916-
"execution_count": 49,
903+
"execution_count": 8,
917904
"metadata": {},
918905
"outputs": [],
919906
"source": [

0 commit comments

Comments
 (0)