#NEWLINE# def get_show_expected_attrs( self , expected_attrs = None ) : #NEWLINE# #INDENT# 'Returns a list of lazy-loadable expected attributes used by show\n\n        This should be used when getting the instances from the database so\n        that the necessary attributes are pre-loaded before needing to build\n        the show response where lazy-loading can fail if an instance was\n        deleted.\n\n        :param list expected_attrs: The list of expected attributes that will\n            be requested in addition to what this view builder requires. This\n            method will merge the two lists and return what should be\n            ultimately used when getting an instance from the database.\n        :returns: merged and sorted list of expected attributes\n        ' #NEWLINE# if ( self is None ) : #NEWLINE# #INDENT# expected_attrs = [ ] #NEWLINE# #UNINDENT# return sorted ( list ( set ( ( self . _show_expected_attrs + expected_attrs ) ) ) )