fgerlits commented on code in PR #2213:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2213#discussion_r3550805821


##########
extensions/python/pythonprocessors/nifiapi/properties.py:
##########
@@ -108,6 +112,8 @@ def 
translateStandardValidatorToMiNiFiPropertype(validators: List[int]) -> int:
         return MinifiPropertyTypes.NON_BLANK_TYPE
     if validator == StandardValidators.PORT_VALIDATOR:
         return MinifiPropertyTypes.PORT_TYPE
+    if validator == StandardValidators.NUMBER_VALIDATOR:
+        return MinifiPropertyTypes.NUMBER_TYPE

Review Comment:
   I think we need to add the reverse conversion, too, in 
`ExecutePythonProcessor.cpp`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to