2 from PLC.v42Legacy import patch
3 from PLC.v42LegacySliceAttributes import v42rename, v43rename
4 from PLC.Methods.GetSliceTags import GetSliceTags
5 class GetSliceAttributes(GetSliceTags):
6 """ Legacy version of GetSliceTags. """
8 def call(self, auth, slice_tag_filter = None, return_fields = None):
9 slice_tag_filter=patch(slice_tag_filter,v42rename)
10 return_fields=patch(return_fields,v42rename)
11 result=GetSliceTags.call(self,auth,slice_tag_filter,return_fields)
12 return patch(result,v43rename)