Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.0.0-M1
-
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
- links to