Files
SemesterapparatsManager/src/utils/blob.py

8 lines
148 B
Python

def create_blob(file: str):
"""
Creates a blob from a file.
"""
with open(file, "rb") as f:
blob = f.read()
return blob