Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-12610

Typo for 'default_value' in Python developer documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0.0-M1
    • 2.0.0-M2
    • None

    Description

      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.

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

      Attachments

        Issue Links

          Activity

            People

              jgresock Joe Gresock
              jgresock Joe Gresock
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m