本文簡要介紹 python 語言中 arcgis.graph.KnowledgeGraph.named_object_type_update
的用法。
用法:
named_object_type_update(type_name, named_type_update, mask)
返回:
dict
顯示命名類型更新的結果。
更新數據模型中的實體或關係類型
Parameter
Description
type_name
必需的字符串。要更新的命名類型。
named_type_update
必需的字典。要更新的實體或關係類型,以字典格式表示。
mask
必需的字典。表示要更新的命名類型的屬性的字典。
# example of a named type to be updated { "name": "Person", "alias": "Person", "role": "esriGraphNamedObjectRegular", "strict": False } # update the named type's alias: { "update_alias": True } # OR { "update_name": False, "update_alias": True, "update_role": False, "update_strict": False }
相關用法
- Python ArcGIS KnowledgeGraph.named_object_type_delete用法及代碼示例
- Python ArcGIS KnowledgeGraph.named_object_type_adds用法及代碼示例
- Python ArcGIS KnowledgeGraph.apply_edits用法及代碼示例
- Python ArcGIS KnowledgeGraph.graph_property_delete用法及代碼示例
- Python ArcGIS KnowledgeGraph.query用法及代碼示例
- Python ArcGIS KnowledgeGraph.graph_property_adds用法及代碼示例
- Python ArcGIS KnowledgeGraph.graph_property_update用法及代碼示例
- Python ArcGIS KnowledgeGraph.search用法及代碼示例
- Python ArcGIS KnowledgeGraph用法及代碼示例
- Python ArcGIS Kafka用法及代碼示例
- Python ArcGIS power用法及代碼示例
- Python ArcGIS APIKeyManager.get用法及代碼示例
- Python ArcGIS ContentManager.unshare_items用法及代碼示例
- Python ArcGIS ImageryLayer.thumbnail用法及代碼示例
- Python ArcGIS FormFieldElement用法及代碼示例
- Python ArcGIS Geometry.true_centroid用法及代碼示例
- Python ArcGIS Site.delete用法及代碼示例
- Python ArcGIS GeoAccessor.bbox用法及代碼示例
- Python arcgis.apps.hub.Initiative.update用法及代碼示例
- Python ArcGIS generate_service_areas用法及代碼示例
- Python ArcGIS build_overview用法及代碼示例
- Python ArcGIS RunInterval用法及代碼示例
- Python ArcGIS describe_dataset用法及代碼示例
- Python ArcGIS acos用法及代碼示例
- Python ArcGIS Item.publish用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.graph.KnowledgeGraph.named_object_type_update。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。