code: def __init__(
      self,
      plasma_socket: str = None,
      plasma_directory: str = None,
      capacity: int = None,
      check_dir_size: bool = True,
  ):
      self._plasma_socket = plasma_socket
      self._client = plasma.connect(plasma_socket)
      self._plasma_directory = plasma_directory
      self._capacity = capacity
      self._check_dir_size = check_dir_size
  
imports: import asyncio
  import sys
  from dataclasses import dataclass
  from functools import lru_cache
  from typing import Any, Dict, List, Optional, Tuple
  import psutil
  import pyarrow
  from ..resource import virtual_memory
  from ..serialization import AioSerializer, AioDeserializer
  from ..utils import implements, dataslots, calc_size_by_str, lazy_import
  from .base import StorageBackend, StorageLevel, ObjectInfo, register_storage_backend
  from .core import BufferWrappedFileObject, StorageFileObject
  from .errors import DataNotExist
label_desc: Use image node_id 1 to create a new PlasmaStorage object from inherited base classes: StorageBackend with example: obj = PlasmaStorage(plasma_socket, plasma_directory, capacity, check_dir_size)