当前位置: 首页>>代码示例 >>用法及示例精选 >>正文


Python ArcGIS Event.update用法及代码示例


本文简要介绍 python 语言中 arcgis.apps.hub.Event.update 的用法。

用法:

update(event_properties)

返回:

一个布尔值,包含 True(成功)或 False(失败)。

更新事件的属性

例子:

# USAGE EXAMPLE: Update an event successfully

event1 = myhub.events.get(id)
event_properties = {'status': 'planned', description: 'Test'}
event1.update(event_properties)

>> True

相关用法


注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 arcgis.apps.hub.Event.update。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。