[entities] Mark DirectLinkIContained adapter as abstract explicitly
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 03 Mar 2017 15:45:26 +0100
changeset 2449 d4c0e6edccf6
parent 2448 b123f92ffe05
child 2457 db5e2f4269e7
[entities] Mark DirectLinkIContained adapter as abstract explicitly concret subclasses are built in registration_callback.
cubicweb_seda/entities/__init__.py
--- a/cubicweb_seda/entities/__init__.py	Wed Mar 01 08:04:33 2017 +0100
+++ b/cubicweb_seda/entities/__init__.py	Fri Mar 03 15:45:26 2017 +0100
@@ -142,6 +142,8 @@
     """IContained implementation using a relation that link every contained entities to its parent
     container.
     """
+    __abstract__ = True
+
     @property
     def container(self):
         """Return the container to which this entity belongs, or None."""