diff --git a/swh/model/model.py b/swh/model/model.py
index 0915459bfd455e86a8224ec3bac8872c56e86b94..b452fcf6ae38f7a984891de084125f1cfc4fa818 100644
--- a/swh/model/model.py
+++ b/swh/model/model.py
@@ -243,6 +243,8 @@ class HashableObjectWithManifest(HashableObject):
     """Derived class of HashableObject, for objects that may need to store
     verbatim git objects as ``raw_manifest`` to preserve original hashes."""
 
+    __slots__ = ()
+
     raw_manifest: Optional[bytes] = None
     """Stores the original content of git objects when they cannot be faithfully
     represented using only the other attributes.