laptop and a wrench

Error

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.

Última publicación: October 15, 2021 ArcGIS API for Python
Número de ID del error BUG-000136586
EnviadoJanuary 7, 2021
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for Python
Versión encontrada1.8.1
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoNon-Reproducible

Información adicional

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.

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000136586

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga