laptop and a wrench

Bogue

Attempts to update the '<Group>.protect()' property using ArcGIS API for Python fail with the error message, "KeyError Traceback(Most recent call last)… KeyError: 'protect'."

Dernière publication: September 24, 2021 ArcGIS API for Python
Numéro d’ID de bogue BUG-000118767
EnvoiDecember 11, 2018
Dernière modificationFebruary 7, 2025
S’applique àArcGIS API for Python
Version trouvée1.5
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

This is not a known issue. The correct way to use a property is to assign values to it and not call it like a function. For example, call the 'protect' property as `g.protect = True`.

Solution de contournement

Change the protection setting in ArcGIS Online.

Étapes pour reproduire

ID de bogue: BUG-000118767

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