From 62a24cf99851767f74f76f119113cc145db75b18 Mon Sep 17 00:00:00 2001 From: wapa5pow Date: Wed, 27 Mar 2024 14:45:37 +0900 Subject: [PATCH] fix BaseDataLayer create_element type --- backend/chainlit/data/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/chainlit/data/__init__.py b/backend/chainlit/data/__init__.py index 320cb13ba9..bf52c9fd71 100644 --- a/backend/chainlit/data/__init__.py +++ b/backend/chainlit/data/__init__.py @@ -64,7 +64,7 @@ async def upsert_feedback( return "" @queue_until_user_message() - async def create_element(self, element_dict: "ElementDict"): + async def create_element(self, element: "Element"): pass async def get_element(