From e6e9e0aaff98664a8e59935dfc3da6224b2d010d Mon Sep 17 00:00:00 2001 From: liujun Date: Thu, 6 Jun 2024 19:44:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B6=89=E5=8F=8A=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A1=86=E5=8F=98=E9=87=8F=E7=9A=84=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=EF=BC=88=E7=88=B6=E6=B5=81=E7=A8=8B=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E5=AD=90=E6=B5=81=E7=A8=8B=E6=96=87=E6=9C=AC=E5=80=BC=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E6=A1=86=E5=8F=98=E9=87=8F=EF=BC=89=EF=BC=8C=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E4=BB=BB=E5=8A=A1=E3=80=81api=20=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=A4=B1=E8=B4=A5=20#7479?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_plugins/variables/collections/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline_plugins/variables/collections/common.py b/pipeline_plugins/variables/collections/common.py index c4eb7d7d35..31c69572e5 100644 --- a/pipeline_plugins/variables/collections/common.py +++ b/pipeline_plugins/variables/collections/common.py @@ -188,6 +188,8 @@ def process_info_value(cls, info_value): @classmethod def process_meta_value(self, meta_data, info_value): + if isinstance(meta_data["value"], str): + meta_data = meta_data["meta"] if meta_data["value"]["datasource"] == "1": # 远程数据源模式下需要记录拉取的数据而不是 URL meta_value = meta_data["value"]["remote_data"]