python get parameters of class