#NEWLINE# def find_connections( self , **kwargs ) : #NEWLINE# #INDENT# logging . debug ( ( 'kwargs: %s' % kwargs ) ) #NEWLINE# parent = ( ndb . Key ( urlsafe = kwargs . pop ( 'user_id' ) ) if ( 'user_id' in kwargs ) else None ) #NEWLINE# provider = kwargs . pop ( 'provider_id' ) #NEWLINE# return self . _build_query ( self . connection_model , parent = parent , provider = provider )