martinzink commented on code in PR #2213:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2213#discussion_r3552656666
##########
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:
good catch, didnt notice taht since thats yet another different enum 😅
--
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]