hide deprecated args to operations in python