-
+# $Id: $
from PLC.v42Legacy import patch
from PLC.v42LegacySliceAttributes import v42rename, v43rename
from PLC.Methods.GetSliceTags import GetSliceTags
""" Legacy version of GetSliceTags. """
skip_typecheck = True
status = "deprecated"
- def call(self, auth, *args, **kwds):
- newargs=[patch(x,v42rename) for x in args]
- newkwds=dict ( [ (k,patch(v,v42rename)) for (k,v) in kwds.iteritems() ] )
- results = GetSliceTags.call(self,auth,*newargs,**newkwds)
- return patch(results,v43rename)
+ def call(self, auth, slice_tag_filter = None, return_fields = None):
+ slice_tag_filter=patch(slice_tag_filter,v2rename)
+ return_fields=patch(return_fields,v2rename)
+ result=GetSliceTags.call(self,auth,slice_tag_filter,return_fields)
+ return patch(result,v43rename)