def get_table_info(*table_names):
ret = {}<EOL>if table_names:<EOL><INDENT>for table_name in table_names:<EOL><INDENT>for name, inter in get_interfaces().items():<EOL><INDENT>if inter.has_table(table_name):<EOL><INDENT>yield table_name, inter, inter.get_fields(table_name)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>for name, inter in get_interfaces().items():<EOL><INDENT>table_names = inter.get_tables()<EOL>for table_name in table_names:<EOL><INDENT>yield table_name, inter, inter.get_fields(table_name)<EOL><DEDENT><DEDENT><DEDENT>
Returns a dict with table_name keys mapped to the Interface that table exists in

    :param *table_names: the tables you are searching for