← Back to team overview

openerp-community team mailing list archive

Reason to deprecate check_recursion() ?

 

Dear Olivier,
In v7 I just noticed that check_recursion() is deprecated in favor of _check_recursion(). That makes it a protected method, so by convention it should only be used inside osv.orm shouldn't it? Would you please be kind enough to explain the reason for this and if it's OK to call _check_recursion() in our own "Model"s? I'm asking because now pylint is looking down on me for using a protected method - I just want to make I'm doing it right.
Lionel.


Follow ups