With accelerated tables on, that can instead be:
rows = app_tables[table_name].search()
Without accelerated tables:
my_table = getattr(app_tables, table_name)
rows = my_table.search()
No need for eval.
With accelerated tables on, that can instead be:
rows = app_tables[table_name].search()
Without accelerated tables:
my_table = getattr(app_tables, table_name)
rows = my_table.search()
No need for eval.