#NEWLINE# def __init__( self , shell = None , config = None ) : #NEWLINE# #INDENT# "Constructor.\n\n        Args:\n            shell: An instance of IPython.core.InteractiveShell.\n            config: IPython's config object.\n        " #NEWLINE# super ( SqlPlugin , self ) . __init__ ( shell = self , config = config ) #NEWLINE# self . auto_magics = SqlMagics ( self , shell ) #NEWLINE# shell . register_magics ( self . auto_magics ) #NEWLINE# register_sql_aliases ( shell . magics_manager , self . auto_magics ) #NEWLINE# self . sqlformat = 'table' #NEWLINE# self . do_reflection = True #NEWLINE# self . connected = False #NEWLINE# self . engine = None #NEWLINE# self . nickname = None #NEWLINE# self . autocommit = False #NEWLINE# self . trans_ctx = None #NEWLINE# self . debug = False #NEWLINE# self . show_sql = False #NEWLINE# ( default , configs ) = engine . getconfigs ( ) #NEWLINE# self . init_completer ( ) #NEWLINE# if default : #NEWLINE# #INDENT# self . connect ( default )