class_docstr: Redis sensor for reading a message from pub sub channels.
  
  :param channels: The channels to be subscribed to (templated)
  :param redis_conn_id: the redis connection id
code: def __init__(
      self, *, channels: list[str] | str, redis_conn_id: str, **kwargs
  ) -> None:
      super().__init__(**kwargs)
      self.channels = channels
      self.redis_conn_id = redis_conn_id
  
file_path: airflow/airflow/providers/redis/sensors/redis_pub_sub.py
imports: from __future__ import annotations
  from functools import cached_property
  from typing import TYPE_CHECKING, Sequence
  from airflow.providers.redis.hooks.redis import RedisHook
  from airflow.sensors.base import BaseSensorOperator
label_desc: Use image node_id 1 to create a new RedisPubSubSensor object from inherited base classes: BaseSensorOperator with example: obj = RedisPubSubSensor()