code: def from_config(cls, config):
      session = Session()
      hyper_params, configurations = (
          config["hyper_params"],
          config["configurations"],
      )
      opts = {
          "git_user": hyper_params["git_user"],
          "git_pass": hyper_params["git_pass"],
          "extra_clearml_conf": configurations["extra_clearml_conf"],
          "api_server": session.get_api_server_host(),
          "web_server": session.get_app_server_host(),
          "files_server": session.get_files_server_host(),
          "access_key": session.access_key,
          "secret_key": session.secret_key,
          "auth_token": ENV_AUTH_TOKEN.get(),
          "extra_vm_bash_script": configurations[
              "extra_vm_bash_script"
          ],
          "docker_image": hyper_params["default_docker_image"],
          "tags": hyper_params.get("tags", ""),
          "session": session,
      }
      return cls(**opts)
  
imports: import logging
  from abc import ABC, abstractmethod
  from os import environ
  import attr
  from ..backend_api import Session
  from ..backend_api.session.defs import ENV_AUTH_TOKEN
label_desc: Use image node_id 11 for calling the CloudDriver obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls