MCPcopy Create free account
hub / github.com/apache/impala / _disable_readline

Method _disable_readline

shell/impala_shell/impala_shell.py:390–395  ·  view source on GitHub ↗

Disables the readline module. The readline module is responsible for keeping track of command history.

(self)

Source from the content-addressed store, hash-verified

388 self.commands = [cmd[3:] for cmd in dir(self.__class__) if cmd.startswith('do_')]
389
390 def _disable_readline(self):
391 """Disables the readline module.
392
393 The readline module is responsible for keeping track of command history.
394 """
395 self.readline = None
396
397 def _print_options(self, print_mode):
398 """Prints the current query options with default values distinguished from set values

Callers 2

__init__Method · 0.95
postloopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected