[
https://issues.apache.org/jira/browse/NIFI-13745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881703#comment-17881703
]
Peter Gyori commented on NIFI-13745:
------------------------------------
I pushed a new commit:
* both LOCAL and CLUSTER states are available in Python
* the Python StateManager and Scope classes are moved to their own
"componentstate" module.
* Python dictionary can be used from the Python processors to put together the
state itself, and the Python StateManager converts it to a Java HashMap.
> Extend the NiFi Python API with access to StateManager
> ------------------------------------------------------
>
> Key: NIFI-13745
> URL: https://issues.apache.org/jira/browse/NIFI-13745
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework, Extensions
> Reporter: Peter Gyori
> Assignee: Peter Gyori
> Priority: Major
>
> There are use-cases where it is necessary to store state from Python-based
> processors in NiFi. One such case is creating and using a List* type Python
> processor that needs to store information regarding which items have already
> been listed in previous executions. For that we need to expose the
> StateManager functionality through the Python API.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)