Running a second function in same class

I am unable to run the second function of same class. For example -

class OrderDetails(Document):
	def validate(self):

		# some stuff

	def validate2(self):

		frappe.errprint("+++")

The output of validate2 → +++ in console is not printing. How do I make the second function valid?

Call from validate (?)

1 Like

yes, to call from validate.