https://github.com/apache/airflow/blob/main/airflow/cli/commands/task_command.py#L145
#
#
#
from __future__ import annotations
import abc
import enum
import logging
import sys
from io import IOBase
from logging import Handler, StreamHandler
from typing import IO, TYPE_CHECKING, Any, TypeVar, cast
import re2
if TYPE_CHECKING:
    from logging import Logger
ANSI_ESCAPE = re2.compile(r"\x1B[@-_][0-?]*[ -/]*[@-~]")
class SetContextPropagate(enum.Enum):