code: def from_experiment(cls, response_exp):
      return cls(
          id=response_exp.id,
          type=ContainerType.from_api(response_exp.type),
          sys_id=response_exp.shortId,
          workspace=response_exp.organizationName,
          project_name=response_exp.projectName,
          trashed=response_exp.trashed,
      )
  
imports: from dataclasses import dataclass
  from datetime import datetime
  from enum import Enum
  from typing import Any, FrozenSet, List, Optional, Set
  from packaging import version
  from neptune.common.backends.api_model import MultipartConfig
  from neptune.internal.container_type import ContainerType
  from neptune.internal.id_formats import SysId, UniqueId
label_desc: Use image node_id 1 for calling the ApiExperiment obj's underlying member method code with example usage: obj.from_experiment(cls, response_exp) and returns: cls