

def _to_tag(self, element):
    tag_key = self._to_tag_key(element, from_tag_api=True)
    return DimensionDataTag(asset_type=findtext(element, 'assetType', TYPES_URN), asset_id=findtext(element, 'assetId', TYPES_URN), asset_name=findtext(element, 'assetId', TYPES_URN), datacenter=findtext(element, 'datacenterId', TYPES_URN), key=element, value=findtext(element, 'value', TYPES_URN))

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver._to_tag/VarMisuse@74/119 `tag_key`->`element`