#NEWLINE# def find_user( self , **kwargs ) : #NEWLINE# #INDENT# if ( 'id' in kwargs ) : #NEWLINE# #INDENT# return ndb . Key ( urlsafe = kwargs . pop ( 'id' ) ) . get ( ) #NEWLINE# #UNINDENT# q = self . _build_query ( self . user_model , ** kwargs ) #NEWLINE# return q . get ( )