code: def dummy_query_object(request, app_context):
      query_obj_marker = request.node.get_closest_marker("query_object")
      result_type_marker = request.node.get_closest_marker(
          "result_type"
      )
  
      if query_obj_marker is None:
          query_object = {}
      else:
          query_object = query_obj_marker.args[0]
  
      if result_type_marker is None:
          result_type = ChartDataResultType.FULL
      else:
          result_type = result_type_marker.args[0]
  
      yield QueryObjectFactory(
          app_configurations={
              "ROW_LIMIT": 100,
          },
          _datasource_dao=unittest.mock.Mock(),
          session_maker=unittest.mock.Mock(),
      ).create(parent_result_type=result_type, **query_object)
  
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 7 for calling a global function with example usage: dummy_query_object(request, app_context) without return types