docs: def connection_string_parser(uri: str) -> list:
          """
          Parse Connection string to extract host and port.
  
          :param uri: full URI for redis connection in the form of host:port
  
          :returns: list of RedisConnection objects
          """
          redis_connections = []
          raw_connections = uri.split(',')
          connections = [
              connection for connection in raw_connections if len(connection) > 0
          ]
  
          for connection in connections:
              raw_connection = connection.split(':')
              if len(raw_connection) == 1:
                  host = raw_connection[0].strip()
                  port = _DEFAULT_REDIS_PORT
              elif len(raw_connection) == 2:
                  host = raw_connection[0].strip()
                  port = int(raw_connection[1])
              else:
                  raise RuntimeError(
                      "Unable to parse redis connection string: {0}".format(
                          raw_connection
                      )
                  )
  
              redis_connection = _RedisConnection(host, port)
              redis_connections.append(redis_connection)
  
          return redis_connections