arcgis-python-api icon indicating copy to clipboard operation
arcgis-python-api copied to clipboard

SurveyManager.create() takes > 6 min to run

Open Wouter-van-Adrichem opened this issue 8 months ago • 1 comments
trafficstars

The method survey123.SurveyManager.create() takes > 6 min to run. The issue is in the self._gis.content.folders.get() method. We have >500 folders and it does an API call for every folder. A possible fix would be to return a list with all folders with one API call. So that I can select the folder from this list.

I have made a workaround by rewriting survey123.SurveyManager.create() myself, in which I avoid to use folders.get().

Wouter-van-Adrichem avatar Feb 27 '25 10:02 Wouter-van-Adrichem