def read_with_selection(func):
def wrapper(*args, **kwargs):<EOL><INDENT>"""<STR_LIT>"""<EOL>selection = kwargs.pop('<STR_LIT>', None) or []<EOL>tab = func(*args, **kwargs)<EOL>if selection:<EOL><INDENT>return filter_table(tab, selection)<EOL><DEDENT>return tab<EOL><DEDENT>return _safe_wraps(wrapper, func)<EOL>
Decorate a Table read method to apply ``selection`` keyword