code: def bash_task(
      python_callable: Callable | None = None,
      **kwargs,
  ) -> TaskDecorator:
      """Wraps a function into a BashOperator.
  
      Accepts kwargs for operator kwargs. Can be reused in a single DAG. This function is only used only used
      during type checking or auto-completion.
  
      :param python_callable: Function to decorate.
  
      :meta private:
      """
      return task_decorator_factory(
          python_callable=python_callable,
          decorated_operator_class=_BashDecoratedOperator,
          **kwargs,
      )
  
file_path: airflow/airflow/decorators/bash.py
imports: from __future__ import annotations
  import warnings
  from typing import Any, Callable, Collection, Mapping, Sequence
  from airflow.decorators.base import DecoratedOperator, TaskDecorator, task_decorator_factory
  from airflow.operators.bash import BashOperator
  from airflow.utils.context import Context, context_merge
  from airflow.utils.operator_helpers import determine_kwargs
  from airflow.utils.types import NOTSET
label_desc: Use image node_id 1 for calling a global function with example usage: bash_task(python_callable) and returns: task_decorator_factory