#NEWLINE# def get_non_database_instances( self ) : #NEWLINE# #INDENT# driver_name = self . name . upper ( ) #NEWLINE# instances = [ ( instance if ( instances . instance_type != instance . __getattribute__ ( driver_name ) ) else None ) for instance in self . databaseinfra . instances . all ( ) ] #NEWLINE# return filter ( None , instances )