code: def get_or_create(session_uuid: str):
      gpu_key = GPUIndex.get(session_uuid)
  
      if not gpu_key:
          g = GPUModel()
          g.save()
          GPUIndex.set(session_uuid, g.key)
  
          gp = GPUPreferencesModel()
          gp.save()
          GPUPreferencesIndex.set(session_uuid, gp.key)
  
          return GPUAnalysis(g)
  
      return GPUAnalysis(gpu_key.load())
  
imports: from fastapi import Request
  from fastapi.responses import JSONResponse
  from labml_db import Model, Index
  from labml_db.serializer.pickle import PickleSerializer
  from typing import Dict, Any, List
  from labml_app.enums import COMPUTEREnums
  from labml_app.logger import logger
  from ..analysis import Analysis
  from ..preferences import Preferences
  from ..series import SeriesModel, Series
  from ..series_collection import SeriesCollection
label_desc: Use image node_id 4 for calling the GPUAnalysis obj's underlying member method code with example usage: obj.get_or_create(session_uuid) and returns: GPUAnalysis, GPUAnalysis