I'm trying to do some content management via a jupyter notebook using the code:
from arcgis.gis import GIS
gis = GIS("https://arcgis.com", "<USERNAME>", "<PASSWORD>")
search_result = gis.content.search(query="owner:<USERNAME>", item_type="Tile Package", max_items = 750)
Which returns the correct number of tile packages, however when I loop through the results some packages are missing, others duplicated.
I other words, instead of getting:
Tile_Package_a
Tile_Package_b
Tile_Package_c
I get:
Tile_Package_a
Tile_Package_b
Tile_Package_b
Tile_Package_c is there, I can find it using gis.content.get(id) but not through content.search.
Any suggestions?
Thanks