GeoEco.ArcGIS.GeoprocessorManager.GetGeoprocessor
- classmethod GeoprocessorManager.GetGeoprocessor()
Returns a
weakrefto the ArcGIS geoprocessor that the GeoEco package is using.This function will return None until
InitializeGeoprocessor()orSetGeoprocessor()has been called. In general, GeoEco functions that need the geoprocessor should callGetWrappedGeoprocessor()rather thanGetGeoprocessor(), because the wrapped geoprocessor provides logging that can be useful in debugging. SeeGetWrappedGeoprocessor()for more information.This function returns a
weakrefso that callers do not inadvertently maintain references to GeoEco’s instance of the geoprocessor and prevent it from being released.- Returns:
A
weakrefto the ArcGIS geoprocessor that the GeoEco package is using, or None if neitherInitializeGeoprocessor()norSetGeoprocessor()has been called yet.- Return type: