Exemplo n.º 1
0
 def __init__(self, session):
     self._session = session
     Validator.__init__(self)
Exemplo n.º 2
0
 def __init__(self, message='You must enter a value', allow_quit=False):
     Validator.__init__(self)
     self.message = message if not allow_quit else message + ' or q to quit'
     self.allow_quit = allow_quit
Exemplo n.º 3
0
 def __init__(self, *args: Any, **kwargs: Any) -> None:
     Validator.__init__(*args, **kwargs)
     self.caller = args[0]
Exemplo n.º 4
0
 def __init__(self, *args, **kwargs):
     Validator.__init__(*args, **kwargs)
     self.caller = args[0]