Allow overriding @validates for inheritance
When a subclass overrides a :func:`_orm.validates` method using the
same method name as the parent class, only the subclass validator is
now invoked for instances of the subclass. The subclass validator
may call ``super()`` to also invoke the parent class validator.
Previously, the parent validator was always used regardless of
whether the subclass provided an override. Pull request courtesy
Indivar Mishra.
as an aside, also sets -j auto for the sphinx autobuild
utility in the makefile, seems to work. I would assume this was
not working when I originally added this option.
Fixes: #2943
Closes: #10574
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/10574
Pull-request-sha:
d310bef35b0ac3e5b840842b62807fc4008fd086
Change-Id: If0dab1ce5d93dbba4686d9cab36b81f6a79bfc1e