#NEWLINE# def find_name( self , _id , services , devices ) : #NEWLINE# #INDENT# for s in services : #NEWLINE# #INDENT# if ( _id == s [ '_id' ] ) : #NEWLINE# #INDENT# return s [ 'name' ] #NEWLINE# #UNINDENT# #UNINDENT# for d in devices : #NEWLINE# #INDENT# if ( _id == devices [ '_id' ] ) : #NEWLINE# #INDENT# return d [ 'name' ] #NEWLINE# #UNINDENT# #UNINDENT# return 'No name'