From c22cdef054f6ccc5b12fed0484d1ba8bd021ae0b Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Wed, 27 Nov 2024 15:21:58 +0330 Subject: [PATCH] fix: black linter issue! --- dags/hivemind_etl_helpers/src/db/telegram/transform/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/hivemind_etl_helpers/src/db/telegram/transform/messages.py b/dags/hivemind_etl_helpers/src/db/telegram/transform/messages.py index 7370b093..e8e0f25d 100644 --- a/dags/hivemind_etl_helpers/src/db/telegram/transform/messages.py +++ b/dags/hivemind_etl_helpers/src/db/telegram/transform/messages.py @@ -22,7 +22,7 @@ def transform(self, messages: list[TelegramMessagesModel]) -> list[Document]: a list of llama-index documents to be embedded & loaded into db """ transformed_docs: list[Document] = [] - + # within links the "-100" of chat_id is removed chat_id = str(self.chat_id).removeprefix("-100")