code: def test_mapped_task_group_id_prefix_task_id():
      from tests.test_utils.mock_operators import MockOperator
  
      with DAG(dag_id="d", start_date=DEFAULT_DATE) as dag:
          t1 = MockOperator.partial(task_id="t1").expand(arg1=[])
          with TaskGroup("g"):
              t2 = MockOperator.partial(task_id="t2").expand(arg1=[])
  
      assert t1.task_id == "t1"
      assert t2.task_id == "g.t2"
  
      dag.get_task("t1") == t1
      dag.get_task("g.t2") == t2
  
imports: from __future__ import annotations
  from datetime import timedelta
  import pendulum
  import pytest
  from airflow.decorators import dag, setup, task, task_group, teardown
  from airflow.exceptions import TaskAlreadyInTaskGroup
  from airflow.models.baseoperator import BaseOperator
  from airflow.models.dag import DAG
  from airflow.models.xcom_arg import XComArg
  from airflow.operators.bash import BashOperator
  from airflow.operators.empty import EmptyOperator
  from airflow.operators.python import PythonOperator
  from airflow.utils.dag_edges import dag_edges
  from airflow.utils.task_group import TaskGroup, task_group_to_dict
  from tests.models import DEFAULT_DATE
label_desc: Use image node_id 31 for calling a global function with example usage: test_mapped_task_group_id_prefix_task_id() without return types