Skip to content

Commit 588dda2

Browse files
committed
use get instead of root
1 parent 56bc0bd commit 588dda2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

guide/03-the-gis/accessing-and-creating-content.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@
14921492
" 'tags':'arcgis, python, earthquake, natural disaster, emergency'}\n",
14931493
"thumbnail_path = os.path.join(data_path, \"earthquake.png\")\n",
14941494
"\n",
1495-
"root_folder = gis.content.folders.root\n",
1495+
"root_folder = gis.content.folders.get()\n",
14961496
"earthquake_csv_item = root_folder.add(item_properties=csv_properties, data=csv_path,\n",
14971497
" thumbnail = thumbnail_path)"
14981498
]

guide/03-the-gis/accessing-and-managing-groups.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
"item_properties = {'title':'Hidden treasures',\n",
433433
" 'tags':['geocaching', 'searching', 'hikes', 'POI'],\n",
434434
" 'snippet':'Points containing treasures for geocaching activity'}\n",
435-
"root_folder = gis.content.folders.root\n",
435+
"root_folder = gis.content.folders.get()\n",
436436
"fc_item = root_folder.add(item_properties, data='../../samples/05_content_publishers/data/hidden_treasures_geocaching.csv')"
437437
]
438438
},

0 commit comments

Comments
 (0)