code: def remove_from_list(self, key: str, value, count: int = 0,
                           pipeline: bool = False):
          
          if pipeline:
              if redis.__version__ == '2.10.6':
                  self._pipeline.lrem(name=key, value=value, num=count)
              else:
                  self._pipeline.lrem(key, count, value)
          else:
              if self._db.exists(key):
                  if redis.__version__ == '2.10.6':
                      self._db.lrem(name=key, value=value, num=count)
                  else:
                      self._db.lrem(key, count, value)
docs: Remove specified value(s) from the list stored at key.
  
          Args:
              key (str): Key where the list is stored.
              value: value to remove
              count (int): Number of entries to remove, default 0 == all
              pipeline(bool): If True, start a transaction block. Default False.