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