def query(self, *args, **kwargs):
        if not issubclass(kwargs.get('itercls', None), AsyncViewBase):
            raise ArgumentError.pyexc("itercls must be defined "
                                      "and must be derived from AsyncViewBase")

        return super(AsyncBucket, self).query(*args, **kwargs)
Reimplemented from base class.
dataset/ETHPy150Open couchbase/couchbase-python-client/couchbase/async/async_bucket.py/AsyncBucket.query