'Returns item attributes (dictionary).'

def get_attributes(self):

    attrs = self.item_props_iface.Get(ITEM_IFACE, 'Attributes', signature='ss')
    return {to_unicode(key): to_unicode(value) for (key, value) in attrs.items()}
