mirror of
https://github.com/apache/nifi.git
synced 2025-02-06 01:58:32 +00:00
NIFI-12610: Corrected default_value example in Python Developer guide
This closes #8245 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
3ebad40fae
commit
1e27cb907a
@ -315,7 +315,7 @@ class PrettyPrintJson(FlowFileTransform):
|
|||||||
numspaces = PropertyDescriptor(name="Number of Spaces",
|
numspaces = PropertyDescriptor(name="Number of Spaces",
|
||||||
description="Number of spaces to use for pretty-printing",
|
description="Number of spaces to use for pretty-printing",
|
||||||
validators=[StandardValidators.POSITIVE_INTEGER_VALIDATOR],
|
validators=[StandardValidators.POSITIVE_INTEGER_VALIDATOR],
|
||||||
defaultValue="4",
|
default_value="4",
|
||||||
required=True)
|
required=True)
|
||||||
self.descriptors = [numspaces]
|
self.descriptors = [numspaces]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user