code: def from_api(api_type: str) -> "ContainerType":
      if api_type == "modelVersion":
          return ContainerType.MODEL_VERSION
      else:
          return ContainerType(api_type)
  
file_path: neptune-client/src/neptune/internal/container_type.py
imports: import enum
  from neptune.internal.id_formats import UniqueId
label_desc: Use image node_id 2 for calling the ContainerType obj's underlying member method code with example usage: obj.from_api(api_type) and returns: ContainerType, ContainerType