From e7c6c57aa66d0424b39785ea87f9db50759b4620 Mon Sep 17 00:00:00 2001 From: Relakkes Date: Thu, 8 Aug 2024 16:36:33 +0800 Subject: [PATCH] fix: kuaishou store not implement store_creator --- store/kuaishou/kuaishou_store_impl.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/store/kuaishou/kuaishou_store_impl.py b/store/kuaishou/kuaishou_store_impl.py index 57a15ad..b4a0db3 100644 --- a/store/kuaishou/kuaishou_store_impl.py +++ b/store/kuaishou/kuaishou_store_impl.py @@ -33,6 +33,9 @@ def calculate_number_of_files(file_store_path: str) -> int: class KuaishouCsvStoreImplement(AbstractStore): + async def store_creator(self, creator: Dict): + pass + csv_store_path: str = "data/kuaishou" file_count:int=calculate_number_of_files(csv_store_path) @@ -89,6 +92,9 @@ class KuaishouCsvStoreImplement(AbstractStore): class KuaishouDbStoreImplement(AbstractStore): + async def store_creator(self, creator: Dict): + pass + async def store_content(self, content_item: Dict): """ Kuaishou content DB storage implementation