add type checking, update deletion function in searchpage, add function to import apparat data from document

This commit is contained in:
2025-04-28 15:31:35 +02:00
parent e6bbc469b1
commit 424411b077
9 changed files with 1262 additions and 186 deletions

View File

@@ -1,4 +1,4 @@
def create_blob(file):
def create_blob(file: str):
"""
Creates a blob from a file.
"""

View File

@@ -1,9 +1,10 @@
import pickle
from typing import Any
def load_pickle(data):
def load_pickle(data: Any):
return pickle.loads(data)
def dump_pickle(data):
def dump_pickle(data: Any):
return pickle.dumps(data)