class_docstr: Deprecated class for launching pods.
  
  Please use airflow.providers.cncf.kubernetes.utils.pod_manager.PodManager instead.
code: def _task_status(self, event):
      self.log.info(
          "Event: %s had an event of type %s",
          event.metadata.name,
          event.status.phase,
      )
      status = self.process_status(
          event.metadata.name, event.status.phase
      )
      return status
  
imports: from __future__ import annotations
  import json
  import math
  import time
  import warnings
  from typing import TYPE_CHECKING, cast
  import pendulum
  import tenacity
  from kubernetes import client, watch
  from kubernetes.client.rest import ApiException
  from kubernetes.stream import stream
  from requests.exceptions import HTTPError
  from airflow.exceptions import AirflowException, RemovedInAirflow3Warning
  from airflow.providers.cncf.kubernetes.kube_client import get_kube_client
  from airflow.providers.cncf.kubernetes.pod_generator import PodDefaults
  from airflow.settings import pod_mutation_hook
  from airflow.utils.log.logging_mixin import LoggingMixin
  from airflow.utils.state import State
label_desc: Use image node_id 7 for calling the PodLauncher obj's underlying member method code with example usage: obj._task_status(event) and returns: status