[ 
https://issues.apache.org/jira/browse/NIFI-12610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-12610:
------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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
>            Priority: Trivial
>             Fix For: 2.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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