def display_data(self):
    dd_parent = super(_TextSink, self).display_data()
    dd_parent['append_newline'] = DisplayDataItem(self._append_trailing_newlines, label='Append Trailing New Lines')
    return dd_parent
def display_data(self):
    dd_parent = super(_TextSink, self).display_data()
    dd_parent['append_newline'] = DisplayDataItem(self._append_trailing_newlines, label='Append Trailing New Lines')
    return dd_parent