martinzink commented on code in PR #2154:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2154#discussion_r3051853910


##########
extensions/python/types/PyRelationship.cpp:
##########
@@ -56,11 +56,15 @@ int PyRelationship::init(PyRelationship* self, PyObject* 
args, PyObject*) {
 }
 
 PyObject* PyRelationship::getName(PyRelationship* self, PyObject*) {
+  PYTHON_METHOD_BEGIN
   return object::returnReference(self->relationship_.getName());
+  PYTHON_METHOD_END
 }
 
 PyObject* PyRelationship::getDescription(PyRelationship* self, PyObject*) {
+  PYTHON_METHOD_BEGIN
   return object::returnReference(self->relationship_.getDescription());
+  PYTHON_METHOD_END

Review Comment:
   it wouldnt compile so i see no issue here



-- 
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]

Reply via email to