Esri / ArcREST

python package for REST API (AGS, AGOL, webmap JSON, etc..)
Apache License 2.0
192 stars 155 forks source link

Sample for Geoprocessing Task Export Cache and bugfixes regarding GP services #352

Closed adegwerth closed 6 years ago

adegwerth commented 6 years ago

Hello,

I created a sample for the ExportCache GP task. During this I found some bugs and fixed these. 1) Urls with blanks are not handled correct (like "{}/rest/services/System/CachingTools/GPServer/Export Cache") 2) paramName value is not set in GPParameters (the type is 'unicode' not 'str') 3) shot code simplification (moved some (dataType, paramName) methods to base class BaseGPObject)