From 4021d93168e0fd219472c9224536181b086f0c31 Mon Sep 17 00:00:00 2001 From: cachho Date: Wed, 16 Aug 2023 01:27:19 +0200 Subject: [PATCH] chore: linting (#449) --- embedchain/embedchain.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embedchain/embedchain.py b/embedchain/embedchain.py index f8ffa89d..558c470e 100644 --- a/embedchain/embedchain.py +++ b/embedchain/embedchain.py @@ -2,8 +2,8 @@ import importlib.metadata import logging import os import threading -from typing import Optional import uuid +from typing import Optional import requests from dotenv import load_dotenv @@ -377,7 +377,7 @@ class EmbedChain: # Send anonymous telemetry thread_telemetry = threading.Thread(target=self._send_telemetry_event, args=("reset",)) thread_telemetry.start() - + collection_name = self.collection.name self.db.reset() self.collection = self.config.db._get_or_create_collection(collection_name) @@ -405,4 +405,4 @@ class EmbedChain: metadata.update(extra_metadata) response = requests.post(url, json={"metadata": metadata}) - response.raise_for_status() \ No newline at end of file + response.raise_for_status()