This is an automated email from the ASF dual-hosted git repository. adebreceni pushed a commit to branch minifi-api-reduced in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 5b1529b0dbae55f9727b889fc65cf73750236feb Author: Adam Debreceni <[email protected]> AuthorDate: Tue Jun 24 10:38:51 2025 +0200 Update extensions/python/ExecutePythonProcessor.cpp Co-authored-by: Márton Szász <[email protected]> --- extensions/python/ExecutePythonProcessor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extensions/python/ExecutePythonProcessor.cpp b/extensions/python/ExecutePythonProcessor.cpp index e599d0617..51d582cb7 100644 --- a/extensions/python/ExecutePythonProcessor.cpp +++ b/extensions/python/ExecutePythonProcessor.cpp @@ -57,9 +57,7 @@ void ExecutePythonProcessor::initializeScript() { void ExecutePythonProcessor::initialize() { initializeScript(); std::vector<core::PropertyReference> all_properties{Properties.begin(), Properties.end()}; - for (auto& python_prop : python_properties_) { - all_properties.push_back(python_prop.getReference()); - } + 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...");
