code: def pod_mutation_hook(pod) -> None:
      """
      Mutate pod before scheduling.
  
      This setting allows altering ``kubernetes.client.models.V1Pod`` object before they are passed to the
      Kubernetes client for scheduling.
  
      This could be used, for instance, to add sidecar or init containers to every worker pod launched by
      KubernetesExecutor or KubernetesPodOperator.
      """
  
file_path: airflow/airflow/policies.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  import pluggy
label_desc: Use image node_id 4 for calling a global function with example usage: pod_mutation_hook(pod) without return types