code: def get_context_from_env_var() -> dict[Any, Any]:
      """
      Extract context from env variable, (dag_id, task_id, etc) for use in BashOperator and PythonOperator.
  
      :return: The context of interest.
      """
      return {
          format_map["default"]: os.environ.get(
              format_map["env_var_format"], ""
          )
          for format_map in AIRFLOW_VAR_NAME_FORMAT_MAPPING.values()
      }
  
imports: from __future__ import annotations
  import contextlib
  import os
  import re
  import socket
  import subprocess
  import time
  import warnings
  from tempfile import NamedTemporaryFile, TemporaryDirectory
  from typing import TYPE_CHECKING, Any, Iterable, Mapping
  from airflow.exceptions import AirflowProviderDeprecationWarning
  import csv
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException
  from airflow.hooks.base import BaseHook
  from airflow.providers.common.sql.hooks.sql import DbApiHook
  from airflow.security import utils
  from airflow.utils.helpers import as_flattened_list
  from airflow.utils.operator_helpers import AIRFLOW_VAR_NAME_FORMAT_MAPPING
label_desc: Use image node_id 1 for calling a global function with example usage: get_context_from_env_var() and returns: unknown