adamdebreceni commented on code in PR #1930:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1930#discussion_r2189483551
##########
extensions/python/ExecutePythonProcessor.cpp:
##########
@@ -58,6 +54,15 @@ void ExecutePythonProcessor::initialize() {
initalizeThroughScriptEngine();
}
+void ExecutePythonProcessor::initialize() {
+ initializeScript();
+ std::vector<core::PropertyReference> all_properties{Properties.begin(),
Properties.end()};
+ ranges::transform(python_properties_, std::back_inserter(all_properties),
&core::Property::getReference);
+ setSupportedProperties(all_properties);
+ setSupportedRelationships(Relationships);
+ logger_->log_debug("Processor has already been initialized, returning...");
Review Comment:
changed
##########
minifi-api/include/minifi-cpp/core/ProcessContext.h:
##########
@@ -33,14 +32,37 @@
namespace org::apache::nifi::minifi::core {
+namespace detail {
+template<typename T>
+concept NotAFlowFile = !std::convertible_to<T &, const FlowFile &> &&
!std::convertible_to<T &, const std::shared_ptr<FlowFile> &>;
+} // namespace detail
Review Comment:
removed
--
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]