code: def __connect(self):
          
          self.__methods     = _get_methods_by_uri(self.sqluri)
          uri_connect_method = self.__methods[METHOD_CONNECT]
  
          self.__dbapi2_conn = uri_connect_method(self.sqluri)
docs: Connect to the database.