def __get_passthrough_tables(self, order): passthrough_tables = config_reader.get_passthrough_tables() passthrough_threshold = config_reader.get_passthrough_threshold() for o in order: for t in o: c = database_helper.get_table_count(table_name(t), schema_name(t), 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))
def __get_passthrough_tables(self): passthrough_tables = config_reader.get_passthrough_tables() return list(set(passthrough_tables))