From 5e8f943f88cd59a7b187835a14f4e479b1c4f25e Mon Sep 17 00:00:00 2001 From: Krisztina Zsihovszki Date: Thu, 4 Jul 2024 19:12:32 +0200 Subject: [PATCH] NIFI-13495 PutChroma 'unexpected keyword argument' error --- src/extensions/vectorstores/PutChroma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/vectorstores/PutChroma.py b/src/extensions/vectorstores/PutChroma.py index f9aad49..5554a82 100644 --- a/src/extensions/vectorstores/PutChroma.py +++ b/src/extensions/vectorstores/PutChroma.py @@ -57,7 +57,7 @@ class ProcessorDetails: client = None embedding_function = None - def __init__(self): + def __init__(self, **kwargs): # noqa: ARG002 self.property_descriptors = list(ChromaUtils.PROPERTIES) + [ prop for prop in EmbeddingUtils.PROPERTIES if prop != EmbeddingUtils.EMBEDDING_MODEL ]