From 8df87d676c40cd79da4eabde3721e8246cd05441 Mon Sep 17 00:00:00 2001 From: junjiejiangjjj Date: Fri, 1 Dec 2023 17:20:25 +0800 Subject: [PATCH] Fix pydantic2 (#2681) Signed-off-by: junjie.jiang --- towhee/runtime/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/towhee/runtime/pipeline.py b/towhee/runtime/pipeline.py index f0821cf8a5..659a29de1b 100644 --- a/towhee/runtime/pipeline.py +++ b/towhee/runtime/pipeline.py @@ -514,4 +514,4 @@ def _concat_dag(dag1, pipes): @staticmethod def _check_schema(schema): - return TupleForm(schema_data=schema).schema_data + return TupleForm(data=None, schema_data=schema).schema_data