#NEWLINE# def getParent( self , itemId ) : #NEWLINE# #INDENT# if ( itemId . _filteredParent is not None ) : #NEWLINE# #INDENT# return self . _filteredParent . get ( itemId ) #NEWLINE# #UNINDENT# return self . _parent . get ( itemId )