laptop and a wrench

漏洞

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

上次发布: September 24, 2021 ArcGIS API for Python
漏洞 ID 编号 BUG-000118767
已提交December 11, 2018
上次修改时间February 7, 2025
适用范围ArcGIS API for Python
找到的版本1.5
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

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

解决办法

Change the protection setting in ArcGIS Online.

重现步骤

漏洞 ID: BUG-000118767

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项