

def _graphOrDefault(ctx, g):
    if (ctx == 'DEFAULT'):
        return ctx.graph
    else:
        return ctx.dataset.get_context(g)

dataset/ETHPy150Open RDFLib/rdflib/rdflib/plugins/sparql/update.py _graphOrDefault/VarMisuse@14/18 `g`->`ctx`