release v1: 65 held-out tasks, 78 bootstrap records, r2e_local adapter, manifest ae94c40b (part 4)
622387b verified Download heldout_pool/RDFLib__rdflib-2796fee74cf2/solution/patch.diff from Benjamin-eecs/openrsi-commit-runtime-assets: direct link, hf CLI and curl.
- Browser
- Download file 519 Bytes
-
https://huggingface.co/datasets/Benjamin-eecs/openrsi-commit-runtime-assets/resolve/main/heldout_pool/RDFLib__rdflib-2796fee74cf2/solution/patch.diff
- Command line
-
hf download hf://datasets/Benjamin-eecs/openrsi-commit-runtime-assets/heldout_pool/RDFLib__rdflib-2796fee74cf2/solution/patch.diff
-
curl -L -o patch.diff https://huggingface.co/datasets/Benjamin-eecs/openrsi-commit-runtime-assets/resolve/main/heldout_pool/RDFLib__rdflib-2796fee74cf2/solution/patch.diff
519 Bytes
| diff --git a/rdflib/plugins/sparql/update.py b/rdflib/plugins/sparql/update.py | |
| index cd22a752..a6908393 100644 | |
| --- a/rdflib/plugins/sparql/update.py | |
| +++ b/rdflib/plugins/sparql/update.py | |
| def evalModify(ctx: QueryContext, u: CompValue) -> None: | |
| g = ctx.dataset.get_context(u.withClause) | |
| ctx = ctx.pushGraph(g) | |
| - for c in res: | |
| + for c in list(res): | |
| dg = ctx.graph | |
| if u.delete: | |
| # type error: Unsupported left operand type for - ("None") | |