setExtendedAttributes function

Set the values of the extended attributes.

Description

The setExtendedAttributes function accepts a Common Data Model (CDM) ModelObject and a Python dictionary of name-value pairs and sets the name-value pairs as extended attributes for the ModelObject.

Function syntax

setExtendedAttributes (mo, exattrs)

Parameters

mo
The Common Data Model ModelObject
exattrs
The Python dictionary of name-value pairs where the name is the extended attribute name and the value is a string

Exceptions

IoException.