laptop and a wrench

Bogue

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.

Dernière publication: October 15, 2021 ArcGIS API for Python
Numéro d’ID de bogue BUG-000136586
EnvoiJanuary 7, 2021
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.8.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutNon-Reproducible

Informations supplémentaires

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.

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000136586

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement