code: def from_config(cls, gitlab_id=None, config_files=None):
          
          config = gitlab.config.GitlabConfigParser(gitlab_id=gitlab_id,
                                                    config_files=config_files)
          return cls(config.url, private_token=config.private_token,
                     oauth_token=config.oauth_token,
                     ssl_verify=config.ssl_verify, timeout=config.timeout,
                     http_username=config.http_username,
                     http_password=config.http_password,
                     api_version=config.api_version,
                     per_page=config.per_page)
docs: Create a Gitlab connection from configuration files.
  
          Args:
              gitlab_id (str): ID of the configuration section.
              config_files list[str]: List of paths to configuration files.
  
          Returns:
              (gitlab.Gitlab): A Gitlab connection.
  
          Raises:
              gitlab.config.GitlabDataError: If the configuration is not correct.