def cancel_if_pending(self):
        if self.state == TDS_IDLE:
            return
        if not self.in_cancel:
            self._put_cancel()
        self.process_cancel()
Search a nodes children for the first child with a given name.
dataset/ETHPy150Open denisenkom/pytds/pytds/tds.py/_TdsSession.cancel_if_pending--crossover with--dataset/ETHPy150Open openstack/rack/rack/api/wsgi.py/XMLDeserializer.find_first_child_named_in_namespace