code: def __init__(
      self,
      redis_address: str = "localhost",
      redis_port: int = 6379,
      channel: str = "PubsubChannel",
  ):
      super().__init__()
      self.redis_connection = redis.Redis(redis_address, redis_port)
      self.pubsub = self.redis_connection.pubsub()
      self.subscriber = None
      self.channel = channel
      self.subscriber = self.pubsub.subscribe(self.channel)
  
imports: import redis
  import pickle
  import uuid
  import time
  from rl_coach.memories.backend.memory import MemoryBackend, MemoryBackendParameters
  from rl_coach.core_types import Transition, Episode, EnvironmentSteps, EnvironmentEpisodes
  from rl_coach.logger import screen
label_desc: Use image node_id 1 to create a new RedisSub object from inherited base classes: object with example: obj = RedisSub(redis_address, redis_port, channel)