def runWithConnection(self, func, *args, **kw):
        from twisted.internet import reactor
        return threads.deferToThreadPool(reactor, self.threadpool,
                                         self._runWithConnection,
                                         func, *args, **kw)
Execute a function with a database connection and return the result.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/enterprise/adbapi.py/ConnectionPool.runWithConnection