diff --git a/nifi-docs/src/main/asciidoc/python-developer-guide.adoc b/nifi-docs/src/main/asciidoc/python-developer-guide.adoc index fc85521ecb..3adbec6eaa 100644 --- a/nifi-docs/src/main/asciidoc/python-developer-guide.adoc +++ b/nifi-docs/src/main/asciidoc/python-developer-guide.adoc @@ -153,10 +153,10 @@ class WriteHelloWorld(FlowFileTransform): version = '0.0.1-SNAPSHOT' def __init__(self, **kwargs): - super().__init__(**kwargs) + pass def transform(self, context, flowfile): - return FlowFileTransformResult(relationship = "success", contents = "Hello World", attributes = {"greeting", "hello"}) + return FlowFileTransformResult(relationship = "success", contents = "Hello World", attributes = {"greeting": "hello"}) ---- The `transform` method is expected to take two arguments: the context (of type `nifiapi.properties.ProcessContext`) and