code: def rasa_non_trained_secured_app(
      rasa_non_trained_server_secured: Sanic,
  ) -> SanicASGITestClient:
      return rasa_non_trained_server_secured.asgi_client
  
imports: import asyncio
  import json
  import os
  import textwrap
  import time
  import urllib.parse
  import uuid
  import sys
  from argparse import Namespace
  from http import HTTPStatus
  from multiprocessing import Manager
  from multiprocessing.managers import DictProxy
  from pathlib import Path
  from typing import Any, List, Text, Tuple, Type, Generator, NoReturn, Dict, Optional
  from unittest.mock import Mock, ANY
  from _pytest.tmpdir import TempPathFactory
  import pytest
  from _pytest.monkeypatch import MonkeyPatch
  from aioresponses import aioresponses
  from freezegun import freeze_time
  from unittest.mock import MagicMock
  from ruamel.yaml import StringIO
  from sanic import Sanic
  from sanic_testing.testing import SanicASGITestClient
  import rasa
  import rasa.constants
  import rasa.core.jobs
  from rasa.engine.storage.local_model_storage import LocalModelStorage
  import rasa.nlu
  import rasa.server
  import rasa.shared.constants
  import rasa.shared.utils.io
  import rasa.utils.io
  from rasa.core import utils
  from rasa.core.agent import Agent, load_agent
  from rasa.core.channels import channel, CollectingOutputChannel, RestInput, SlackInput, CallbackInput
  from rasa.core.channels.slack import SlackBot
  from rasa.core.tracker_store import InMemoryTrackerStore
  import rasa.nlu.test
  from rasa.nlu.test import CVEvaluationResult
  from rasa.shared.core import events
  from rasa.shared.core.constants import ACTION_RESTART_NAME, ACTION_SESSION_START_NAME, ACTION_LISTEN_NAME, REQUESTED_SLOT, SESSION_START_METADATA_SLOT
  from rasa.shared.core.domain import Domain, SessionConfig
  from rasa.shared.core.events import Event, Restarted, UserUttered, SlotSet, BotUttered, ActionExecuted, SessionStarted
  from rasa.shared.core.trackers import DialogueStateTracker
  from rasa.shared.nlu.constants import INTENT_NAME_KEY, ENTITY_ATTRIBUTE_TYPE, ENTITY_ATTRIBUTE_VALUE, PREDICTED_CONFIDENCE_KEY
  from rasa.shared.constants import LATEST_TRAINING_DATA_FORMAT_VERSION
  from rasa.model_training import TrainingResult
  from rasa.utils.endpoints import EndpointConfig
  from tests.conftest import AsyncMock, with_assistant_id, with_assistant_ids, with_model_id, with_model_ids
  from tests.nlu.utilities import ResponseTest
  from tests.utilities import json_of_latest_request, latest_request
label_desc: Use image node_id 8 for calling a global function with example usage: rasa_non_trained_secured_app(rasa_non_trained_server_secured) and returns: rasa_non_trained_server_secured