def completedefault(self, text, line, *_):
tokens = line.split()<EOL>try:<EOL><INDENT>before = tokens[-<NUM_LIT:2>]<EOL>complete = before.lower() in ("<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>if tokens[<NUM_LIT:0>].lower() == "<STR_LIT>":<EOL><INDENT>complete = True<EOL><DEDENT>if complete:<EOL><INDENT>return [<EOL>t + "<STR_LIT:U+0020>"<EOL>for t in self.engine.cached_descriptions<EOL>if t.startswith(text)<EOL>]<EOL><DEDENT><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>
Autocomplete table names in queries