[
https://issues.apache.org/jira/browse/NIFI-12616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17808416#comment-17808416
]
ASF subversion and git services commented on NIFI-12616:
--------------------------------------------------------
Commit 2acc1038c988f02487a13679e403f492db45ff47 in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=2acc1038c9 ]
NIFI-12616 Added Processor Documentation Support for Python
- Added some Use Case docs for Python processors and updated Runtime Manifests
to include Python based processors as well as Use Case/MultiProcessorUseCase
documentation elements. Refactored/cleaned up some of the Python code and added
unit tests.
- Added python-unit-tests profile and enabled on Ubuntu and macOS GitHub
workflows
This closes #8253
Signed-off-by: David Handermann <[email protected]>
> Enable @use_case and @multi_processor_use_case decorators to be added to
> Python Processors
> ------------------------------------------------------------------------------------------
>
> Key: NIFI-12616
> URL: https://issues.apache.org/jira/browse/NIFI-12616
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework, Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 2.0.0-M2
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently, Python processors have no way of articulating specific use cases
> and multi-processor use cases in their docs. Introduce new decorators to
> allow for these.
> We use decorators here in order to keep the structure similar to that of Java
> but also because it offers a clean mechanism for defining the
> MultiProcessorUseCase, which becomes awkward if trying to include in the
> ProcessorDetails inner class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)