Github user vanzin commented on a diff in the pull request: https://github.com/apache/incubator-livy/pull/119#discussion_r243101945 --- Diff: repl/src/main/resources/fake_shell.py --- @@ -49,6 +49,22 @@ TOP_FRAME_REGEX = re.compile(r'\s*File "<stdin>".*in <module>') +def get_completer(): + try: + __IPYTHON__ + from IPython.core.completer import IPCompleter + ip = get_ipython() + ip_completer = IPCompleter(ip,global_namespace=global_dict) --- End diff -- space after `,`
---