lint: Fix all E302 linting errors

This commit is contained in:
Drikus Roor
2023-04-12 23:05:14 +02:00
committed by Drikus Roor
parent 04dc0f7149
commit d1ea6cf002
20 changed files with 47 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ except ImportError:
print("Pinecone not installed. Skipping import.")
PineconeMemory = None
def get_memory(cfg, init=False):
memory = None
if cfg.memory_backend == "pinecone":
@@ -41,6 +42,7 @@ def get_memory(cfg, init=False):
memory.clear()
return memory
def get_supported_memory_backends():
return supported_memory