#NEWLINE# def download( self ) : #NEWLINE# #INDENT# path = os . path . join ( absDir , 'pdf_file.pdf' ) #NEWLINE# return static . serve_file ( self , 'application/x-download' , 'attachment' , os . path . basename ( path ) )