Skip to content

Commit 6ce1709

Browse files
committed
pr feedback: remove input() and opt for entering via string var
1 parent fccde02 commit 6ce1709

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

notebooks/Offline Checks.ipynb

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"source": [
4343
"#### Access your GIS Account - ArcGIS Enterprise\n",
4444
"Add in your enterprise portal below. \n",
45-
"Example: https://mydomain.esri.com/portal"
45+
"Example: \"https://mydomain.esri.com/portal\""
4646
]
4747
},
4848
{
@@ -58,7 +58,23 @@
5858
"cell_type": "markdown",
5959
"metadata": {},
6060
"source": [
61-
"After you run this cell, you will be prompted for your user name and password. "
61+
"Add in your username below. Example: \"org_admin\" "
62+
]
63+
},
64+
{
65+
"cell_type": "code",
66+
"execution_count": null,
67+
"metadata": {},
68+
"outputs": [],
69+
"source": [
70+
"username = \"ADD_YOUR_USERNAME_HERE\""
71+
]
72+
},
73+
{
74+
"cell_type": "markdown",
75+
"metadata": {},
76+
"source": [
77+
"After you run the cell below, you will be prompted to add in your password. And then you should be connected to your GIS account."
6278
]
6379
},
6480
{
@@ -67,8 +83,6 @@
6783
"metadata": {},
6884
"outputs": [],
6985
"source": [
70-
"print(\"Enter your ArcGIS account user name: \")\n",
71-
"username = input()\n",
7286
"gis = GIS(enterprise_url, username)\n",
7387
"print(\"Connected to {}\".format(gis.properties.portalHostname))"
7488
]
@@ -788,7 +802,7 @@
788802
],
789803
"metadata": {
790804
"kernelspec": {
791-
"display_name": "field-maps-scripts-jc",
805+
"display_name": "fmjustintest9999",
792806
"language": "python",
793807
"name": "python3"
794808
},

0 commit comments

Comments
 (0)