docs: def setReplicationStatusResponse(
          self, pid, nodeRef, status, dataoneError=None, vendorSpecific=None
      ):
          """CNReplication.setReplicationStatus(session, pid, nodeRef, status, failure) →
          boolean https://releases.dataone.org/online/api-documentatio
          n-v2.0.1/apis/CN_APIs.html#CNReplication.setReplicationStatus.
  
          Args:
            pid:
            nodeRef:
            status:
            dataoneError:
            vendorSpecific:
  
          Returns:
  
          """
          mmp_dict = {'nodeRef': nodeRef, 'status': status}  # .toxml('utf-8'),
          if dataoneError is not None:
              mmp_dict['failure'] = ('failure.xml', dataoneError.serialize_to_transport())
          return self.PUT(
              ['replicaNotifications', pid], fields=mmp_dict, headers=vendorSpecific
          )