Source code for opyenxes.model.XAttributeList
from opyenxes.model.XAttributeCollection import XAttributeCollection
[docs]class XAttributeList(XAttributeCollection):
"""Attribute with child attributes. Theses child attributes are ordered.
:param key: The key of the attribute.
:type key: str
:param extension: The extension defining the attribute (set to None, if
the attribute is not associated to an extension)
:type extension: `XExtension` or None
"""
def __init__(self, key, extension=None):
super().__init__(key, extension)