def _send_request(self, msg_type, oids, cb, *args, **pdu_args):

        assert self.sessp
        req = self._create_request(msg_type, oids, **pdu_args)
        self._requests[req.contents.reqid] = (cb, args)

        if not lib.snmp_sess_send(self.sessp, req):
            lib.snmp_free_pdu(req)
            del self._requests[req.contents.reqid]
            raise SnmpError("snmp_sess_send")
Create and send the pdu for the given type and oids.
dataset/ETHPy150Open marineam/nagcat/python/snapy/netsnmp/__init__.py/Session._send_request