code: def unpack_rsp(cls, rsp_pb):
          
          if rsp_pb.retType != RET_OK:
              return RET_ERROR, rsp_pb.retMsg, None
  
          raw_acc_list = rsp_pb.s2c.accList
          acc_list = [{
              'acc_id': record.accID,
              'trd_env': TRADE.REV_TRD_ENV_MAP[record.trdEnv] if record.trdEnv in TRADE.REV_TRD_ENV_MAP else "",
              'trdMarket_list': [(TRADE.REV_TRD_MKT_MAP[trdMkt] if trdMkt in TRADE.REV_TRD_MKT_MAP else TrdMarket.NONE) for trdMkt in record.trdMarketAuthList]
          } for record in raw_acc_list]
  
          return RET_OK, "", acc_list
docs: Convert from PLS response to user response