code: def test_no_runs(admin_client, dag_without_runs):
      resp = admin_client.get(
          f"/object/grid_data?dag_id={DAG_ID}", follow_redirects=True
      )
      assert resp.status_code == 200, resp.json
      assert resp.json == {
          "dag_runs": [],
          "groups": {
              "children": [
                  {
                      "extra_links": [],
                      "has_outlet_datasets": False,
                      "id": "task1",
                      "instances": [],
                      "is_mapped": False,
                      "label": "task1",
                      "operator": "EmptyOperator",
                      "trigger_rule": "all_success",
                  },
                  {
                      "children": [
                          {
                              "extra_links": [],
                              "has_outlet_datasets": False,
                              "id": "mapped_task_group.subtask2",
                              "instances": [],
                              "is_mapped": True,
                              "label": "subtask2",
                              "operator": "MockOperator",
                              "trigger_rule": "all_success",
                          }
                      ],
                      "is_mapped": True,
                      "id": "mapped_task_group",
                      "instances": [],
                      "label": "mapped_task_group",
                      "tooltip": "",
                  },
                  {
                      "children": [
                          {
                              "extra_links": [],
                              "has_outlet_datasets": False,
                              "id": "group.mapped",
                              "instances": [],
                              "is_mapped": True,
                              "label": "mapped",
                              "operator": "MockOperator",
                              "trigger_rule": "all_success",
                          }
                      ],
                      "id": "group",
                      "instances": [],
                      "label": "group",
                      "tooltip": "",
                  },
              ],
              "id": None,
              "instances": [],
              "label": None,
          },
          "ordering": ["data_interval_end", "execution_date"],
      }
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  import pendulum
  import pytest
  from dateutil.tz import UTC
  from airflow.datasets import Dataset
  from airflow.decorators import task_group
  from airflow.lineage.entities import File
  from airflow.models import DagBag
  from airflow.models.dataset import DatasetDagRunQueue, DatasetEvent, DatasetModel
  from airflow.operators.empty import EmptyOperator
  from airflow.utils import timezone
  from airflow.utils.state import DagRunState, TaskInstanceState
  from airflow.utils.task_group import TaskGroup
  from airflow.utils.types import DagRunType
  from airflow.www.views import dag_to_grid
  from tests.test_utils.asserts import assert_queries_count
  from tests.test_utils.db import clear_db_datasets, clear_db_runs
  from tests.test_utils.mock_operators import MockOperator
label_desc: Use image node_id 5 for calling a global function with example usage: test_no_runs(admin_client, dag_without_runs) without return types