laptop and a wrench

Bug

Delete protection cannot be enabled on an item pulled into ArcGIS API for Python through a get request, and the error message, "TypeError: 'bool' object is not callable" is returned.

Last Published: October 15, 2021 ArcGIS API for Python
Bug ID Number BUG-000136586
SubmittedJanuary 7, 2021
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found1.8.1
Operating SystemWindows OS
Operating System Version10.0
StatusNon-Reproducible

Additional Information

This issue is not reproducible in ArcGIS API for Python 1.9.x. There is no difference between the Item in search and with get. It is the same class. If this issue persists, upgrade to the latest version of ArcGIS API for Python.

Workaround

Use the search method to bring the item into the script before running the protect function.

Steps to Reproduce

Bug ID: BUG-000136586

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options