#NEWLINE# def filter( self , * args , **kwargs ) : #NEWLINE# #INDENT# '\n        Preserved override for kwarg backwards compatibility. Prior to the\n        refactor for centralizing model filtering, this method\'s first formal\n        parameter was called "item", whereas the centralized version\'s first\n        parameter is called "doc". This override simply detects someone using\n        the old kwarg and converts it to the new form.\n        ' #NEWLINE# if ( 'item' in kwargs ) : #NEWLINE# #INDENT# args = ( [ kwargs . pop ( 'item' ) ] + list ( args ) ) #NEWLINE# #UNINDENT# return Model . filter ( self , * args , ** kwargs )