code: def connect_to(name):
      
      kwargs = config_for(name)
  
      if not kwargs:
          raise AttributeError('connection profile not found in config')
  
      node = connect(return_node=True, **kwargs)
      return node
docs: Creates a node instance based on an entry from the config
  
      This function will retrieve the settings for the specified connection
      from the config and return a Node instance.  The configuration must
      be loaded prior to calling this function.
  
      Args:
          name (str): The name of the connection to load from the config.  The
              name argument should be the connection name (everything right of
              the colon from the INI file)
  
      Returns:
          This function will return an instance of Node with the settings
              from the config instance.
  
      Raises:
          AttributeError: raised if the specified configuration name is not
              found in the loaded configuration