class_docstr: A memory backend which transfers the experiences from the rollout to the training worker using Redis Pub/Sub in
  Coach when distributed mode is used.
docstr: :param obj: The object to store in memory. The object is either a Tranisition or Episode type.
docstr_tok: [":","param","obj",":","The","object","to","store","in","memory",".","The","object","is","either","a","Tranisition","or","Episode","type","."]
code: def store(self, obj):
      """
      :param obj: The object to store in memory. The object is either a Tranisition or Episode type.
      """
      self.redis_connection.publish(
          self.params.channel, pickle.dumps(obj)
      )
  
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 2 for calling the RedisPubSubBackend obj's underlying member method code with example usage: obj.store(obj) without return types