def __call__(self, *args, **kwargs):

        return getattr(self, self.scope)(*args, **kwargs)
Call the query with the defined scope.
dataset/ETHPy150Open saltstack/salt/salt/modules/inspectlib/query.py/Query.__call__