3 from PLC.v42Legacy import patch
4 from PLC.v42LegacySliceAttributes import v42rename, v43rename
5 from PLC.Methods.UpdateSliceTag import UpdateSliceTag
6 class UpdateSliceAttribute(UpdateSliceTag):
7 """ Legacy version of UpdateSliceTag. """
9 def call(self, auth, slice_tag_id, value):
10 slice_tag_id=patch(slice_tag_id,v42rename)
11 value=patch(value,v42rename)
12 result=UpdateSliceTag.call(self,auth,slice_tag_id,value)
13 return patch(result,v43rename)