Skip to content

Commit

Permalink
fix: kuaishou store not implement store_creator
Browse files Browse the repository at this point in the history
  • Loading branch information
NanmiCoder committed Aug 8, 2024
1 parent a10cdcf commit e7c6c57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions store/kuaishou/kuaishou_store_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -89,6 +92,9 @@ async def store_comment(self, comment_item: Dict):


class KuaishouDbStoreImplement(AbstractStore):
async def store_creator(self, creator: Dict):
pass

async def store_content(self, content_item: Dict):
"""
Kuaishou content DB storage implementation
Expand Down

0 comments on commit e7c6c57

Please sign in to comment.