create utils module
This commit is contained in:
6
src/utils/pickles.py
Normal file
6
src/utils/pickles.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import pickle
|
||||
|
||||
def load_pickle(data):
|
||||
return pickle.loads(data)
|
||||
def dump_pickle(data):
|
||||
return pickle.dumps(data)
|
||||
Reference in New Issue
Block a user