MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / add_attribute

Method add_attribute

python/minifi/__init__.py:121–123  ·  view source on GitHub ↗
(self, name, value)

Source from the content-addressed store, hash-verified

119 return ""
120
121 def add_attribute(self, name, value):
122 vallen = len(value)
123 return self._minifi.add_attribute(self._ff, name.encode("UTF-8"), value.encode("UTF-8"), vallen) == 0
124
125 def update_attribute(self, name, value):
126 vallen = len(value)

Callers 1

onTriggerMethod · 0.80

Implementers 1

JniFlowFileextensions/jni/nifi-framework-jni/src/

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected