code: def execute(self, context: Context):
      import os
  
      parsing_context_file = Path("/tmp/airflow_parsing_context")
      self.log.info("Executing")
      # signal to the test that we've started
      parsing_context = (
          f"{_AIRFLOW_PARSING_CONTEXT_DAG_ID}={os.environ.get(_AIRFLOW_PARSING_CONTEXT_DAG_ID)}\n"
          f"{_AIRFLOW_PARSING_CONTEXT_TASK_ID}={os.environ.get(_AIRFLOW_PARSING_CONTEXT_TASK_ID)}\n"
      )
  
      parsing_context_file.write_text(parsing_context)
      self.log.info("Executed")
  
file_path: airflow/tests/dags/test_parsing_context.py
imports: from __future__ import annotations
  from pathlib import Path
  from typing import TYPE_CHECKING
  from airflow.models.dag import DAG
  from airflow.operators.empty import EmptyOperator
  from airflow.utils.dag_parsing_context import _AIRFLOW_PARSING_CONTEXT_DAG_ID, _AIRFLOW_PARSING_CONTEXT_TASK_ID
  from airflow.utils.timezone import datetime
label_desc: Use image node_id 1 for calling the DagWithParsingContext obj's underlying member method code with example usage: obj.execute(context) without return types