Right now I use the parameter object\'s class to be inherited like so class A(): def __init__(self,p1,p2):