소스 검색

chore: linting (#449)

cachho 2 년 전
부모
커밋
4021d93168
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      embedchain/embedchain.py

+ 3 - 3
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()
+            response.raise_for_status()