def __init__(self, annotations=None):
super(AnnotationArray, self).__init__()<EOL>if annotations is None:<EOL><INDENT>annotations = list()<EOL><DEDENT>self.extend([Annotation(**obj) for obj in annotations])<EOL>
Create an AnnotationArray.

        Parameters
        ----------
        annotations: list
            List of Annotations, or appropriately formated dicts
            is consistent with Annotation.