def run_method(self, method, *args, **kwargs):
		if "flags" in kwargs:
			del kwargs["flags"]

		if hasattr(self, method) and hasattr(getattr(self, method), "__call__"):
			fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
		else:
			# hack! to run hooks even if method does not exist
			fn = lambda self, *args, **kwargs: None

		fn.__name__ = method.encode("utf-8")
		return Document.hook(fn)(self, *args, **kwargs)
Removes a specific validation from the stack of validations that have been added
dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.run_method--crossover with--dataset/ETHPy150Open callowayproject/django-livevalidation/livevalidation/validator.py/LiveValidation.remove