<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_config(cls, gitlab_id=None, config_files=None):
 """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. """

        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)