Example #1
0
 def fromJson(self, dictObj: dict):
     super().fromJson(dictObj)
     self.user = Models.Login().fromJson(dictObj['user'])
     return self
Example #2
0
 def __init__(self, user: Models.Login = Models.Login()):
     super().__init__()
     self.user = user
Example #3
0
 def __comando_B1__(self):
     login = Models.Login()
     login.userEmail = self.entr1.retorna_entr()
     login.password = self.entr2.retorna_entr()
     self.controller.requestLogin(login)