def _validate_args(self, args: List[str]):
    for arg in args:
        argument = self.signature[arg]
        value = argument.validate(getattr(self, arg))
        setattr(self, arg, value)
def _validate_args(self, args: List[str]):
    for arg in args:
        argument = self.signature[arg]
        value = argument.validate(getattr(self, arg))
        setattr(self, arg, value)