NIFI-13118: Add LANGUAGE to property_descriptor list

Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes #8720.
This commit is contained in:
Zoltan Kornel Torok 2024-04-30 21:53:16 +02:00 committed by Joe Gresock
parent 280015749f
commit 99d8433b7d
No known key found for this signature in database
GPG Key ID: 37F5B9B6E258C8B7
1 changed files with 3 additions and 2 deletions

View File

@ -182,7 +182,8 @@ class ChunkDocument(FlowFileTransform):
CHUNK_SIZE,
CHUNK_OVERLAP,
KEEP_SEPARATOR,
STRIP_WHITESPACE]
STRIP_WHITESPACE,
LANGUAGE]
def __init__(self, **kwargs):
@ -282,4 +283,4 @@ class ChunkDocument(FlowFileTransform):
output_json = self.to_json(split_docs)
attributes = {"document.count": str(len(split_docs))}
return FlowFileTransformResult("success", contents=output_json, attributes=attributes)
return FlowFileTransformResult("success", contents=output_json, attributes=attributes)