Joe Gresock created NIFI-12610:
----------------------------------

             Summary: Typo for 'default_value' in Python developer documentation
                 Key: NIFI-12610
                 URL: https://issues.apache.org/jira/browse/NIFI-12610
             Project: Apache NiFi
          Issue Type: Bug
          Components: Documentation & Website
    Affects Versions: 2.0.0-M1
            Reporter: Joe Gresock
            Assignee: Joe Gresock
             Fix For: 2.0.0


In the Python developer guide, the section on creating a property descriptor 
has a typo: defaultValue should actually be default_value.  The result of 
pasting this example in a Python processor is that the property descriptors 
will not load.


{code:java}
            numspaces = PropertyDescriptor(name="Number of Spaces",
            description="Number of spaces to use for pretty-printing",
            validators=[StandardValidators.POSITIVE_INTEGER_VALIDATOR],
            defaultValue="4",
            required=True)
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to