Skip to content

Commit

Permalink
update add
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaeaubry committed Oct 24, 2024
1 parent c648a8c commit ce75219
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@
],
"source": [
"# add the csv as an item\n",
"item_prop = {'title':'USA Capitals spreadsheet_' + str(now)}\n",
"item_prop = {'title':'USA Capitals spreadsheet_' + str(now), \"item_type\": \"CSV\"}\n",
"root_folder = gis.content.folders.get()\n",
"csv_item = root_folder.add(item_properties=item_prop, file=my_csv)\n",
"csv_item = root_folder.add(item_properties=item_prop, file=my_csv).result()\n",
"csv_item"
]
},
Expand Down

0 comments on commit ce75219

Please sign in to comment.