parameters: (self, host=None, user=None, passwd=None)
docstring: This constructor is responsible for defining class variables.
function: def __init__(self, host=None, user=None, passwd=None):
          '''
  
          This constructor is responsible for defining class variables.
  
          '''
  
          self.settings = Database()
          self.list_error = []
          self.proceed = True
  
          # host address
          if host:
              self.host = host
          else:
              self.host = self.settings.get_db_host('sql')
  
          # username for above host address
          if user:
              self.user = user
          else:
              self.user = self.settings.get_db_username('sql')
  
          # password for above username
          if passwd:
              self.passwd = passwd
          else:
              self.passwd = self.settings.get_db_password('sql')
function_tokens: def __init__ ( self , host = None , user = None , passwd = None ) : self . settings = Database ( ) self . list_error = [ ] self . proceed = True # host address if host : self . host = host else : self . host = self . settings . get_db_host ( 'sql' ) # username for above host address if user : self . user = user else : self . user = self . settings . get_db_username ( 'sql' ) # password for above username if passwd : self . passwd = passwd else : self . passwd = self . settings . get_db_password ( 'sql' )