code-review-lab / data /diffs /s04.diff
alirezaaminzadeh's picture
Publish CodeReview Python lab diffs and versioned ruleset
32e0071 verified
Raw
History Blame Contribute Delete
289 Bytes
diff --git a/ledger-api/batch.py b/ledger-api/batch.py
--- a/ledger-api/batch.py
+++ b/ledger-api/batch.py
@@ -1,4 +1,6 @@
"""Lab batch import for ledger-api. Synthetic."""
+import pickle
+
def import_batch(raw_body):
- return raw_body
+ return pickle.loads(raw_body)