

def resolve(self, param, query_context):
    if (param.namespace == GLOBAL_NAMESPACE):
        template_varaible = query_context.get_template_variable(slug=param.variable)
        return self._resolve_from_template(template_varaible, query_context)
    try:
        return self.resolvers[param.namespace].resolve(param.variable, query_context)
    except QueryResolutionError:
        return _('[unknown]')

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/performance_sms/query_engine.py QueryEngine.resolve/VarMisuse@27/36 `self`->`query_context`