fgerlits commented on code in PR #2041:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2041#discussion_r2399205248
##########
extensions/python/pythonprocessors/nifiapi/processorbase.py:
##########
@@ -54,8 +54,12 @@ def onInitialize(self, processor: Processor):
self.supports_dynamic_properties = False
for property in self.getPropertyDescriptors():
- property_type_code =
translateStandardValidatorToMiNiFiPropertype(property.validators)
expression_language_supported = True if
property.expressionLanguageScope != ExpressionLanguageScope.NONE else False
+ property_type_code = None
+
+ # MiNiFi C++ does not support validators for expression language
enabled properties
+ if not expression_language_supported:
+ property_type_code =
translateStandardValidatorToMiNiFiPropertype(property.validators)
Review Comment:
Can we log a warning here if expression language support is on, and the
validator is not null, ALWAYS_VALID or NON_BLANK?
--
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]