ad4cfeacf3274d63e56789c4b63c40db886a1554
[plcapi.git] / PLC / Legacy / GetSliceAttributeTypes.py
1 # $Id: $
2 from PLC.v42Legacy import patch
3 from PLC.v42LegacySliceAttributeTypes import v42rename, v43rename
4 from PLC.Methods.GetTagTypes import GetTagTypes
5 class GetSliceAttributeTypes(GetTagTypes):
6     """ Legacy version of GetTagTypes. """
7     status = "deprecated"
8     def call(self, auth, tag_type_filter = None, return_fields = None):
9         tag_type_filter=patch(tag_type_filter,v42rename)
10         return_fields=patch(return_fields,v42rename)
11         result=GetTagTypes.call(self,auth,tag_type_filter,return_fields)
12         return patch(result,v43rename)