@classmethod
    def _is_simple_query(cls, query):
        useable = (
            not query.low_mark and
            not query.high_mark and
            not query.select and
            not query.group_by and
            not query.distinct and
            not query.order_by and
            len(query.tables) <= 1
        )

        if hasattr(query, 'having'):  # Django < 1.9
            useable = (useable and not query.having)

        return useable
While waiting for the L{Deferred} returned by an L{XMLRPC} C{xmlrpc_*}
dataset/ETHPy150Open adamchainz/django-mysql/django_mysql/models/handler.py/Handler._is_simple_query--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_xmlrpc.py/AsyncXMLRPCTests.test_interruptedDeferredResponse