joewitt commented on code in PR #9182:
URL: https://github.com/apache/nifi/pull/9182#discussion_r1720095216
##########
nifi-api/src/main/java/org/apache/nifi/processor/ProcessContext.java:
##########
@@ -73,6 +73,15 @@ public interface ProcessContext extends PropertyContext,
ClusterContext {
*/
void yield();
+ /**
+ * <p>
+ * An alternative name for the yield() method so that it can be called
from Python.
+ * </p>
+ */
+ default void yieldResources() {
Review Comment:
Arpad,
If you are proposing that there are more general/fundamental things to nail
down prior to the 2.0 release as it relates to the Python API please initiate a
discussion thread or wiki with a proposal.
For the specific issue I flagged with this PR we need other options that do
not leak such a concern into the nifi-api. Sounds like Marton has a potential
path. But generally anywhere we have a bridge between python and nifi should
allow us to do any python centric translation.
--
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]