code: def get_shm(self, name, size, create):
      shm = SharedMemory(size=int(size), name=name, create=create)
      if create:
          # We only unlink the ones we created in this context
          self.created_shms.append(shm)
      else:
          # If we didn't create it, we only close it when done, we don't unlink it
          self.opened_shms.append(shm)
      return shm
  
imports: import os
  import warnings
  from functools import partial
  from math import ceil
  from uuid import uuid4
  import numpy
  import pyarrow
  from multiprocess import get_context
  from ..None import config
label_desc: Use image node_id 2 for calling the SharedMemoryContext obj's underlying member method code with example usage: obj.get_shm(name, size, create) and returns: shm