diff --git a/swh/model/model.py b/swh/model/model.py
index dd73bf99b6a8f52aca76cee43028f1ebf4e9d424..c804becf62a07fa86635377ea441d629f5955b07 100644
--- a/swh/model/model.py
+++ b/swh/model/model.py
@@ -40,6 +40,7 @@ SHA1_SIZE = 20
 
 # TODO: Limit this to 20 bytes
 Sha1Git = bytes
+Sha1 = bytes
 
 
 KT = TypeVar("KT")