#NEWLINE# def setup_tables( self ) : #NEWLINE# #INDENT# tables = frappe . get_all ( 'DocType' , { #NEWLINE# #INDENT# 'is_table' : 0 , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . all_tables = [ d . name . lower ( ) for d in tables ] #NEWLINE# self . doctype_names = { d . name . lower ( ) : d . name for d in tables }