code: def client(app: SupersetApp) -> Any:
      with app.test_client() as client:
          yield client
  
imports: import functools
  import importlib
  import os
  import unittest.mock
  from collections.abc import Iterator
  from typing import Any, Callable
  from unittest.mock import patch
  import pytest
  from _pytest.fixtures import SubRequest
  from pytest_mock import MockFixture
  from sqlalchemy import create_engine
  from sqlalchemy.orm import sessionmaker
  from sqlalchemy.orm.session import Session
  from superset import security_manager
  from superset.app import SupersetApp
  from superset.common.chart_data import ChartDataResultType
  from superset.common.query_object_factory import QueryObjectFactory
  from superset.extensions import appbuilder, feature_flag_manager
  from superset.initialization import SupersetAppInitializer
label_desc: Use image node_id 4 for calling a global function with example usage: client(app) without return types