def __init__(self, cpf,email,mobile_number,interests): self.user = User(email,mobile_number) self.cpf = cpf self.interests = interests if interests is not None: print interests userDB.createUser(self,self.user,interests)
def __init__(self, cnpj,email,mobile_number): self.user = User(email,mobile_number) self.cnpj = cnpj userDB.createUser(self,self.user)