Skip to content

Commit f9b7852

Browse files
committed
Updated code and text based on Atma's comments
1 parent 6bc34b5 commit f9b7852

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

guide/03-the-gis/working-with-different-authentication-schemes.ipynb

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
{
3131
"cell_type": "code",
32-
"execution_count": 1,
32+
"execution_count": 3,
3333
"metadata": {},
3434
"outputs": [],
3535
"source": [
@@ -477,7 +477,7 @@
477477
},
478478
{
479479
"cell_type": "code",
480-
"execution_count": 20,
480+
"execution_count": 4,
481481
"metadata": {},
482482
"outputs": [
483483
{
@@ -491,10 +491,12 @@
491491
],
492492
"source": [
493493
"#Define 2 different profiles for two different urls\n",
494-
"print(\"profile defined for {}\".format(GIS(url=\"https://python.playground.esri.com/portal\", username='arcgis_python', password='amazing_arcgis_123',\n",
495-
" profile='python_playground_prof')))\n",
496-
"print(\"profile defined for {}\".format(GIS(url=\"https://arcgis.com/\", username='arcgis_python', password=\"P@ssword123\",\n",
497-
" profile=\"AGOL_prof\")))"
494+
"playground_gis = GIS(url=\"https://python.playground.esri.com/portal\", username='arcgis_python', password='amazing_arcgis_123',\n",
495+
" profile='python_playground_prof')\n",
496+
"agol_gis = GIS(url=\"https://arcgis.com/\", username='arcgis_python', password=\"P@ssword123\",\n",
497+
" profile=\"AGOL_prof\")\n",
498+
"print(\"profile defined for {}\".format(playground_gis))\n",
499+
"print(\"profile defined for {}\".format(agol_gis))"
498500
]
499501
},
500502
{

0 commit comments

Comments
 (0)