Skip to content

Commit 8b89cbe

Browse files
committed
call result on future obj
1 parent 4f85dee commit 8b89cbe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@
14811481
"\n",
14821482
"root_folder = gis.content.folders.get()\n",
14831483
"earthquake_csv_item = root_folder.add(item_properties=csv_properties, data=csv_path,\n",
1484-
" thumbnail = thumbnail_path)"
1484+
" thumbnail = thumbnail_path).result()"
14851485
]
14861486
},
14871487
{
@@ -1526,7 +1526,7 @@
15261526
}
15271527
],
15281528
"source": [
1529-
"earthquake_csv_item.result()"
1529+
"earthquake_csv_item"
15301530
]
15311531
},
15321532
{
@@ -2313,8 +2313,8 @@
23132313
" 'tags': 'arcgis python api, pandas, csv',\n",
23142314
" 'text':ports_json,\n",
23152315
" 'type':'Feature Collection'}\n",
2316-
"ports_item = root_folder.add(ports_item_properties)\n",
2317-
"ports_item.result()"
2316+
"ports_item = root_folder.add(ports_item_properties).result()\n",
2317+
"ports_item"
23182318
]
23192319
},
23202320
{

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

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

0 commit comments

Comments
 (0)