code: def parse_xpending(response, **options):
      if options.get("parse_detail", False):
          return parse_xpending_range(response)
      consumers = [
          {"name": n, "pending": int(p)} for n, p in response[3] or []
      ]
      return {
          "pending": response[0],
          "min": response[1],
          "max": response[2],
          "consumers": consumers,
      }
  
imports: import datetime
  from redis.utils import str_if_bytes
label_desc: Use image node_id 25 for calling a global function with example usage: parse_xpending(response) and returns: dict, parse_xpending_range