def __init__(self, session): self._session = session Validator.__init__(self)
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
def __init__(self, *args: Any, **kwargs: Any) -> None: Validator.__init__(*args, **kwargs) self.caller = args[0]
def __init__(self, *args, **kwargs): Validator.__init__(*args, **kwargs) self.caller = args[0]