Download data/diffs/s04.diff from AriaAICompany/code-review-lab: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/datasets/AriaAICompany/code-review-lab/resolve/main/data/diffs/s04.diff
- Command line
-
hf download hf://datasets/AriaAICompany/code-review-lab/data/diffs/s04.diff
-
curl -L -o s04.diff https://huggingface.co/datasets/AriaAICompany/code-review-lab/resolve/main/data/diffs/s04.diff
289 Bytes
| diff --git a/ledger-api/batch.py b/ledger-api/batch.py | |
| --- a/ledger-api/batch.py | |
| +++ b/ledger-api/batch.py | |
| """Lab batch import for ledger-api. Synthetic.""" | |
| +import pickle | |
| + | |
| def import_batch(raw_body): | |
| - return raw_body | |
| + return pickle.loads(raw_body) | |