MD5 hash for gridfs is deprecated
Kwentar opened this issue · 0 comments
Kwentar commented
sacred/sacred/observers/mongo.py
Line 445 in f6191d1
Looks like md5 hash doesn't work as earlier in gridfs, and all files will be added without checking md5 (file in file = self.fs.find_one({"filename": abs_path, "md5": md5})
always None), I fixed it like _id = self.fs.put(f, filename=abs_path, md5=md5)
but not sure this is the correct one