Modify featureservicetools.py to use the is_portal member of the security handler instead of the absence of layers in the feature service to decide to return an ags.FeatureService. I'm a little less confident of this as I'm not using portal at all. Was having problems with getting the ags object when working with empty agol feature services.
Modify featureservicetools.py to use the is_portal member of the security handler instead of the absence of layers in the feature service to decide to return an ags.FeatureService. I'm a little less confident of this as I'm not using portal at all. Was having problems with getting the ags object when working with empty agol feature services.