code: async def getTempCoreProx(mods=None):
      '''
      Get a Telepath Proxt to a Cortex instance which is backed by a temporary Cortex.
  
      Args:
          mods (list): A list of additional CoreModules to load in the Cortex.
  
      Notes:
          The Proxy returned by this should be fini()'d to tear down the temporary Cortex.
  
      Returns:
          s_telepath.Proxy
      '''
      acm = genTempCoreProxy(mods)
      prox = await acm.__aenter__()
      # Use object.__setattr__ to hulk smash and avoid proxy getattr magick
      object.__setattr__(prox, '_acm', acm)
      async def onfini():
          await prox._acm.__aexit__(None, None, None)
      prox.onfini(onfini)
      return proync def getTempCoreProx(mods=None):
      '''
      Get a Telepath Proxt to a Cortex instance which is backed by a temporary Cortex.
  
      Args:
          mods (list): A list of additional CoreModules to load in the Cortex.
  
      Notes:
          The Proxy returned by this should be fini()'d to tear down the temporary Cortex.
  
      Returns:
          s_telepath.Proxy
      '''
      acm = genTempCoreProxy(mods)
      prox = await acm.__aenter__()
      # Use object.__setattr__ to hulk smash and avoid proxy getattr magick
      object.__setattr__(prox, '_acm', acm)
      async def onfini():
          await prox._acm.__aexit__(None, None, None)
      prox.onfini(onfini)
      return prox
docs: Get a Telepath Proxt to a Cortex instance which is backed by a temporary Cortex.
  
      Args:
          mods (list): A list of additional CoreModules to load in the Cortex.
  
      Notes:
          The Proxy returned by this should be fini()'d to tear down the temporary Cortex.
  
      Returns:
          s_telepath.Proxy