File size: 289 Bytes
32e0071
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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)