We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d99670 commit 871294bCopy full SHA for 871294b
1 file changed
dandi/support/digests.py
@@ -142,7 +142,8 @@ def md5file_nocache(filepath: str | Path) -> str:
142
filepath = Path(filepath)
143
144
if filepath.stat().st_size > ZARR_LARGE_CHUNK_THRESHOLD:
145
- return get_dandietag(filepath).as_str()
+ # For some reason the type checker treats this return as an Any type
146
+ return get_dandietag(filepath).as_str() # type: ignore [no-any-return]
147
148
return Digester(["md5"])(filepath)["md5"]
149
0 commit comments