def __get_passthrough_tables(self, order): passthrough_tables = ConfigReader().get_passthrough_tables() passthrough_threshold = ConfigReader().get_passthrough_threshold() for o in order: for t in o: c = database_helper.get_table_count(t, self.schema, self.__source_conn) if c <= passthrough_threshold: passthrough_tables.append(t) #an explicitly marked passthrough table canhave under 100 rows in which case it'll appear in final list twice return list(set(passthrough_tables))