code: def get_mem_engine(echo: bool = False) -> Engine:
      """gets a sqlalchemy engine connection to an in-memory sqlite instance
  
      Args:
      echo: if True, will echo all SQL commands to terminal
  
      Returns:
      sqlalchemy Engine instance
      """
      return _create_sqa_engine(url=MEMORY_DB_URL, echo=echo)
  
imports: import os
  import sys
  from contextlib import contextmanager
  from copy import deepcopy
  from typing import Any, Dict, List, Optional
  from absl import logging
  from blessings import Terminal
  from googleapiclient import discovery
  from sqlalchemy import create_engine
  from sqlalchemy.engine.base import Engine
  from sqlalchemy.exc import OperationalError
  from sqlalchemy.orm import Session, sessionmaker
  import caliban.config.experiment
  import caliban.util.auth
  from caliban.history.types import ContainerSpec, Experiment, ExperimentGroup, Job, JobSpec, JobStatus, Platform, init_db
  from caliban.platform.cloud.types import JobStatus
  from caliban.platform.gke.cluster import Cluster
  from caliban.platform.gke.types import JobStatus
  from caliban.platform.gke.util import default_credentials
label_desc: Use image node_id 2 for calling a global function with example usage: get_mem_engine(echo) and returns: _create_sqa_engine