Showing 1 of 1 total issue
Method find_and_lock
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.find_and_lock(doc, opts)
model = doc.class
filter = {
_id: doc.id,
'$or': [