'Reload tool data tables. If neither table_names nor path is given, reloads all tool data tables.'

def reload_tables(self, table_names=None, path=None):

    tables = self.get_tables()
    if (not table_names):
        if path:
            table_names = self.get_table_names_by_path(path)
        else:
            table_names = list(tables.keys())
    elif (not isinstance(table_names, list)):
        table_names = [table_names]
    for table_name in table_names:
        tables[table_name].reload_from_files()
        log.debug("Reloaded    tool    data    table    '%s'    from    files.", table_name)
    return table_names
