class_docstr: Deprecated class for launching pods.
  
  Please use airflow.providers.cncf.kubernetes.utils.pod_manager.PodManager instead.
docstr: Delete pod.
docstr_tok: ["Delete","pod","."]
code: def delete_pod(self, pod: V1Pod):
      """Delete pod."""
      try:
          self._client.delete_namespaced_pod(
              pod.metadata.name,
              pod.metadata.namespace,
              body=client.V1DeleteOptions(),
          )
      except ApiException as e:
          # If the pod is already deleted
          if e.status != 404:
              raise
  
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 3 for calling the PodLauncher obj's underlying member method code with example usage: obj.delete_pod(pod) without return types