laptop and a wrench

Bug

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'."

Zuletzt veröffentlicht: September 24, 2021 ArcGIS API for Python
Bug-ID-Nummer BUG-000118767
EingereichtDecember 11, 2018
Zuletzt geändertFebruary 7, 2025
Gilt fürArcGIS API for Python
Gefunden in Version1.5
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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`.

Workaround

Change the protection setting in ArcGIS Online.

Schritte zur Reproduzierung

Bug-ID: BUG-000118767

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln