import grok from waeup.ikoba.interfaces import IIkobaObject from zope.annotation.attribute import AttributeAnnotations from zope.annotation.interfaces import IAnnotations class IkobaAttributeAnnotations(AttributeAnnotations, grok.Adapter): """An adapter to IAnnotations for any IkobaObject. Providing this adapter, each Ikoba object becomes (attribute) annotatable. """ grok.provides(IAnnotations) grok.context(IIkobaObject)