create utils module
This commit is contained in:
9
src/utils/blob.py
Normal file
9
src/utils/blob.py
Normal file
@@ -0,0 +1,9 @@
|
||||
def create_blob(file):
|
||||
"""
|
||||
Creates a blob from a file.
|
||||
"""
|
||||
with open(file, "rb") as f:
|
||||
blob = f.read()
|
||||
return blob
|
||||
|
||||
|
||||
Reference in New Issue
Block a user